Interface WorkflowTransition

All Superinterfaces:
HasMetaData

public interface WorkflowTransition extends HasMetaData
WorkflowTransition represents a transition between two WorkflowNodes of a WorkflowModel.
  • Method Details

    • getFrom

      WorkflowNode getFrom()
      Returns the WorkflowNode that is the source of this WorkflowTransition.
      Returns:
      The WorkflowNode that is the source of this WorkflowTransition.
    • setFrom

      void setFrom(WorkflowNode from)
      Sets the WorkflowNode that is the source of this WorkflowTransition.
      Parameters:
      from - The WorkflowNode that is the source of this WorkflowTransition.
    • getTo

      WorkflowNode getTo()
      Returns the WorkflowNode that is the target of this WorkflowTransition.
      Returns:
      The WorkflowNode that is the target of this WorkflowTransition.
    • setTo

      void setTo(WorkflowNode to)
      Sets the WorkflowNode that is the target of this WorkflowTransition.
      Parameters:
      to - The WorkflowNode that is the target of this WorkflowTransition.
    • getRule

      String getRule()
      Returns the rule that defines if this WorkflowTransition can be followed or not.
      Returns:
      The execution rule of the WorkflowTransition.
    • setRule

      void setRule(String rule)
      Sets the rules that defines if this WorkflowTransition can be followed or not.
      Parameters:
      rule - The execution rule of the WorkflowTransition.