Interface WorkflowNode

All Superinterfaces:
HasMetaData

public interface WorkflowNode extends HasMetaData
WorkflowNode represents a node/step in a WorkflowModel.
  • Field Details

  • Method Details

    • getId

      String getId()
      Returns the ID of the WorkflowNode.
      Returns:
      ID of the WorkflowNode.
    • getType

      String getType()
      Returns the type of the WorkflowNode. Must be unique across all available types of WorkflowNodes.
      Returns:
      The type of the WorkflowNode.
    • setType

      void setType(String type)
      Sets the type of the WorkflowNode. Must be unique across all available types of WorkflowNodes.
      Parameters:
      type - The new type the the WorkflowNode.
    • getDescription

      String getDescription()
      Returns the description of the WorkflowNode.
      Returns:
      The description of the WorkflowNode.
    • setDescription

      void setDescription(String description)
      Set the description of the WorkflowNode.
      Parameters:
      description - The new description of the WorkflowNode.
    • getTransitions

      List<WorkflowTransition> getTransitions()
      Returns the outgoing WorkflowTransitions assigned to the WorkflowNode.
      Returns:
      WorkflowTransitions associated with the WorkflowNode (only outgoing).
    • getIncomingTransitions

      List<WorkflowTransition> getIncomingTransitions()
      Returns the incoming WorkflowTransitions assigned to the WorkflowNode.
      Returns:
      WorkflowTransitions associated with the WorkflowNode (only incoming).
    • getTitle

      String getTitle()
      Returns the WorkflowNodes title.
      Returns:
      The title of the WorkflowNode.
    • setTitle

      void setTitle(String title)
      Sets the title of the WorkflowNode.
      Parameters:
      title - The new title of the WorkflowNode.