// ĠCopyright Ġ 2 0 0 0 - 2 0 2 1 ĠJetBrains Ġs . r . o . ĠUse Ġof Ġthis Ġsource Ġcode Ġis Ġgoverned Ġby Ġthe ĠApache Ġ 2 . 0 Ġlicense Ġthat Ġcan Ġbe Ġfound Ġin Ġthe ĠLICENSE Ġfile . Ċ package Ġcom . intellij . execution . target Ċ Ċ abstract Ġclass ĠBase Target Environment Request Ġ@ Jvm Over loads Ġconstructor ( ĊĠ Ġoverride Ġval Ġupload Volumes : ĠMutable Set < Target Environment . Upload Root > Ġ= ĠHashSet (), ĊĠ Ġoverride Ġval Ġdownload Volumes : ĠMutable Set < Target Environment . Download Root > Ġ= ĠHashSet (), ĊĠ Ġoverride Ġval Ġtarget Port Bindings : ĠMutable Set < Target Environment . Target Port Binding > Ġ= ĠHashSet (), ĊĠ Ġoverride Ġval Ġlocal Port Bindings : ĠMutable Set < Target Environment . Local Port Binding > Ġ= ĠHashSet (), ĊĠ Ġoverride Ġvar Ġproject Path On Target : ĠString Ġ= Ġ"" Ċ ) Ġ: ĠTarget Environment Request Ġ{ ĊĠ Ġprivate Ġval Ġenvironment Prepared Callbacks Ġ= Ġmutable ListOf <( Target Environment , ĠTarget Progress Indicator ) Ġ-> ĠUnit >() ĊĊĠ Ġoverride Ġfun Ġon Environment Prepared ( callback : Ġ( environment : ĠTarget Environment , Ġprogress Indicator : ĠTarget Progress Indicator ) Ġ-> ĠUnit ) Ġ{ ĊĠĠĠ Ġenvironment Prepared Callbacks . add ( callback ) ĊĠ Ġ} ĊĊĠ Ġfun Ġenvironment Prepared ( environment : ĠTarget Environment , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġprogress Indicator : ĠTarget Progress Indicator ) Ġ{ ĊĠĠĠ Ġfor Ġ( callback Ġin Ġenvironment Prepared Callbacks ) Ġ{ ĊĠĠĠĠĠ Ġcallback ( environment , Ġprogress Indicator ) ĊĠĠĠ Ġ} ĊĠ Ġ} Ċ }