Class AbstractDecisionNode

  • All Implemented Interfaces:
    Node

    @SupportedAll
    public abstract class AbstractDecisionNode
    extends Object
    implements Node
    An abstract node implementation for nodes that result in a simple true-false outcome.
    • Constructor Detail

      • AbstractDecisionNode

        public AbstractDecisionNode()
    • Method Detail

      • goTo

        protected Action.ActionBuilder goTo​(boolean outcome)
        Move on to the next node in the tree that is connected to the given outcome.
        Parameters:
        outcome - the outcome.
        Returns:
        an action builder to provide additional details.