BranchBehavior
BranchBehavior
Utility behavior that works just like an IF/ELSE statement If you are not sure if this is the right behavior for your use-case, consider using a selector behavior instead, as selector is a more commonly applicable behavior type
Kind: global class
BranchBehavior.from(condition, successBranch, failureBranch)
Kind: static method of BranchBehavior
Param | Type |
---|---|
condition | Behavior |
successBranch | Behavior |
failureBranch | Behavior |