Class TaskNodeDefinition

All Implemented Interfaces:
ITaskNodeDefinition, IProcessNodeDefinition, IProcessStepDefinition

public class TaskNodeDefinition extends ProcessStepDefinition implements ITaskNodeDefinition
This node holds the information needed for a task invocation.
Since:
7.1
Author:
O. Kerpershoek
  • Constructor Details

  • Method Details

    • getTaskName

      public String getTaskName()
      Description copied from interface: ITaskNodeDefinition
      This method returns the name of the task.
      Specified by:
      getTaskName in interface ITaskNodeDefinition
      Returns:
      The name of the task.
    • getTaskDefinition

      public IProcessTaskDefinition getTaskDefinition()
      Description copied from interface: ITaskNodeDefinition
      This method returns the task definition the node is defined for.
      Specified by:
      getTaskDefinition in interface ITaskNodeDefinition
      Returns:
      the task definition the node is defined for.
    • lockCaseDataUponStart

      public boolean lockCaseDataUponStart()
      Description copied from interface: ITaskNodeDefinition
      This method returns a boolean indicating if the case data should be locked when this task is started.
      Specified by:
      lockCaseDataUponStart in interface ITaskNodeDefinition
      Returns:
      a boolean indicating if the case data should be locked when this task is started.
    • 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.
    • getRequiredCondition

      public final ICondition getRequiredCondition()
      Description copied from interface: ITaskNodeDefinition
      This method returns a boolean condition indicating if the node is required once the task has become available. A node that is required will stay scheduled even after the condition that caused it to be scheduled has become false. This property is only relevant for adhoc nodes.
      Specified by:
      getRequiredCondition in interface ITaskNodeDefinition
      Returns:
      boolean condition indicating if the node is required once the task has become available.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getProcessDefinition

      public IProcessDefinition getProcessDefinition()
      Description copied from interface: ITaskNodeDefinition
      This method returns the owner process definition.
      Specified by:
      getProcessDefinition in interface ITaskNodeDefinition
      Returns:
      The definition of the owner process;