- Enclosing class:
- ActivityTreeUtil
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
void
Called when relevant state is found.
default void
Called when new child is entered into.
default void
Called when new child is processed, and we want to return to the parent.
-
Method Details
-
process
Called when relevant state is found.
Worker states are present in the case of distributed coordinator-workers scenario.
-
toNewChild
Called when new child is entered into.
- Parameters:
childState
- State of the child. Often can be ignored.
-
toParent
default void toParent()
Called when new child is processed, and we want to return to the parent.