package Ġorg . bon itas oft . engine . dsl . process Ċ Ċ /** Ċ Ġ* Ġ@ author ĠDan ila ĠM az our Ċ Ġ*/ Ċ data Ġclass ĠTransition Container ( val Ġdata Container : Ġorg . bon itas oft . engine . dsl . process . Data Container , Ġval Ġtransitions List : ĠMutable List < Transition Builder > Ġ= ĠArrayList ()) Ġ{ ĊĊĠĠĠ Ġval Ġdefault : ĠTransition Builder ĊĠĠĠĠĠĠĠ Ġget () Ġ= ĠTransition Builder ( transition Container Ġ= Ġthis ). apply Ġ{ Ġtransitions List . add ( this ) Ġ} ĊĊĠĠĠ Ġfun Ġfrom ( source Flow Node : ĠString , Ġinit : ĠTransition Builder . () Ġ-> ĠUnit Ġ= Ġ{} ): ĠTransition Builder { ĊĠĠĠĠĠĠĠ Ġval Ġtransition Builder Ġ= ĠTransition Builder ( source Flow Node , Ġtransition Container Ġ= Ġthis ). apply ( init ) ĊĠĠĠĠĠĠĠ Ġtransitions List . add ( transition Builder ) ĊĠĠĠĠĠĠĠ Ġreturn Ġtransition Builder ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġin fix Ġfun ĠString . to ( that : ĠString ): ĠTransition Builder Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġfrom ( this ). to ( that ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġin fix Ġfun ĠTransition Builder . from ( that : ĠString ): ĠTransition Builder Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġthis . from ( that ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġin fix Ġfun ĠTransition Builder . from ( that : ĠFlow Node ): ĠTransition Builder Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġthis . from ( that ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġin fix Ġfun ĠFlow Node . to ( that : ĠFlow Node ): ĠTransition Builder Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġfrom ( this . name ). to ( that . name ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġin fix Ġfun ĠTransition Builder . to ( that : ĠFlow Node ): ĠTransition Builder Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġthis . to ( that . name ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġin fix Ġfun ĠTransition Builder . to ( that : ĠString ): ĠTransition Builder Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġthis . to ( that ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġin fix Ġfun ĠTransition Builder . with Condition ( that : ĠExpression DSL Builder ): ĠTransition Builder Ġ{ ĊĠĠĠĠĠĠĠ Ġthis . condition Ġ= Ġthat ĊĠĠĠĠĠĠĠ Ġreturn Ġthis ĊĠĠĠ Ġ} Ċ Ċ } Ċ