-
Improvement
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
-
Yes
-
Empty show more show less
When using NodeBuilder to create more complex structures some extra ops come handy
- getOrAddNode(String boolean) - optionally creates new node(s) if they do not exist. Helps to create more flexible script in uncertain parent structure.
- IfTrue(boolean flag) - executes operations specified in .then(...) only if provided parameter is true. Helps to add "optional" subtasks based on externally defined flags.
conditional(Predicate predicate, Op true, Op false) - ops delivering "parent" to nodes in .then(...) only when predicate evaluates current node as true or false.- onEachChild(Predicate predicate) - ops in .then(...) will be executed on each child that is evaluated true by the predicate. Allows to build subtasks that need to be executed on uncertain number of subnodes of current node.
Acceptance criteria
- is depended upon by
-
MGNLGROOVY-122 Sample script to register app dynamically
- Closed