Class ChoiceNodeHandler

  • All Implemented Interfaces:
    INodeHandler

    public class ChoiceNodeHandler
    extends Object
    implements INodeHandler
    Handler for nodes that choose a branch based on conditions on the edges.
    Since:
    7.1
    Author:
    O. Kerpershoek
    • Constructor Detail

      • ChoiceNodeHandler

        public ChoiceNodeHandler()
    • Method Detail

      • scheduleNode

        public void scheduleNode​(IEvaluationContext context)
                          throws AppException
        Description copied from interface: INodeHandler
        This method should schedule a task for the current node. The context contains the current node and the parent task.
        Specified by:
        scheduleNode in interface INodeHandler
        Parameters:
        context - This object contains information about the current node.
        Throws:
        AppException - This exception is thrown when the task could not be scheduled.