Class ConditionNodeDefinition

All Implemented Interfaces:
IConditionNodeDefinition, IProcessNodeDefinition, IProcessStepDefinition, IWaitNodeDefinition

public class ConditionNodeDefinition extends ProcessStepDefinition implements IConditionNodeDefinition
This class defines a node that should wait for a condition to become true.
Since:
7.0
Author:
O. Kerpershoek
  • Constructor Details

    • ConditionNodeDefinition

      protected ConditionNodeDefinition(NodeData node, NodeContext context)
  • Method Details

    • isRepeatable

      public boolean isRepeatable()
      Description copied from interface: IProcessStepDefinition
      This method returns a boolean indicating if the task may be repeated once it has been completed. Note: Only ad hoc tasks can be repeatable, ad hoc condition nodes can not be repeatable.
      Specified by:
      isRepeatable in interface IProcessStepDefinition
      Overrides:
      isRepeatable in class ProcessStepDefinition
      Returns:
      a boolean indicating if the task may be repeated once it has been completed.
    • getDisplayName

      public String getDisplayName()
      Description copied from interface: IProcessNodeDefinition
      This method returns a name for the node in a readable format that can be used to identify the node.
      Specified by:
      getDisplayName in interface IProcessNodeDefinition
      Returns:
      a name for the node in a readable format that can be used to identify the node.
    • getExitStates

      public String[] getExitStates()
      Description copied from class: NodeDefinition
      This method returns the names of the exits that are connected to a next node.
      Specified by:
      getExitStates in interface IProcessNodeDefinition
      Overrides:
      getExitStates in class NodeDefinition
      Returns:
      the names of the exits that are connected to a next node.