Interface IProcessStepDefinition

All Superinterfaces:
IProcessNodeDefinition
All Known Subinterfaces:
ICallNodeDefinition, IConditionNodeDefinition, IEventNodeDefinition, ITaskNodeDefinition, ITimerNodeDefinition, IWaitNodeDefinition
All Known Implementing Classes:
CallNodeDefinition, ConditionNodeDefinition, EventNodeDefinition, ProcessStepDefinition, TaskNodeDefinition, TimerNodeDefinition

public interface IProcessStepDefinition extends IProcessNodeDefinition
This interface defines the properties for a step in a process. A process step can either be a task or a sub-process.
Since:
7.1
Author:
O. Kerpershoek
  • Method Details

    • isAdhoc

      boolean isAdhoc()
      This method returns a boolean indicating if the node is an adhoc node in a process definition. Adhoc nodes are not part of the normal flow, and thus don't have any exit states. The adhoc nodes become active depending on their trigger.
      Returns:
      boolean indicating if the node is an adhoc node in a process definition.
    • isRepeatable

      boolean isRepeatable()
      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.
      Returns:
      a boolean indicating if the task may be repeated once it has been completed.
    • getCondition

      ICondition getCondition()
      This method returns the conditions that should be met in order for the task to be scheduled. The condition is only relevant for an adhoc node in a process. Note: Timer and event nodes can not have a condition
      Returns:
      The condition that should be met in order for the task to be scheduled.