Interface WorkflowActivityInstance

  • All Superinterfaces:
    Wrapper

    public interface WorkflowActivityInstance
    extends Wrapper
    This interface represents a Workflow activity instance. A Workflow activity instance represents an instance of a Worklow activity. The instance will have an activity state, indicating the current state of the activity instance within the Workflow model instance.
    Author:
    ivol
    • Method Detail

      • getActivity

        WorkflowActivity getActivity()
        Returns the activity of which this activity instance is an instance.
        Returns:
        activity of which this activity instance is an instance
      • setActivity

        void setActivity​(WorkflowActivity activity)
        Sets the activity of which this activity instance is an instance.
        Parameters:
        activity - activity of which this activity instance is an instance
      • getState

        String getState()
        Return the current Workflow activity state of this activity instance.
        Returns:
        current Workflow activity state of this activity instance. Will be one of "completed", "active" or "inactive"
      • setState

        void setState​(String state)
        Sets the state of this Workflow activity instance. Must be one of "completed", "active" or "inactive"
        Parameters:
        state - new state of this Workflow activity instance