Class Step

  • Direct Known Subclasses:
    ProcessStep

    public class Step
    extends java.lang.Object
    Step Object in process workflow
    • Constructor Detail

      • Step

        public Step()
      • Step

        public Step​(java.lang.String id,
                    java.lang.String workerGroupId,
                    java.lang.String stepName,
                    ProcessBehavior behavior,
                    Distribution distribution,
                    java.util.List<Action> actions,
                    java.lang.String waitFor)
    • Method Detail

      • getId

        public java.lang.String getId()
      • setId

        public void setId​(java.lang.String id)
      • getActions

        public java.util.List<Action> getActions()
        getActions
        Returns:
        the list of actions to be executed for the step
      • setActions

        public Step setActions​(java.util.List<Action> actions)
        Parameters:
        actions - the list of actions
        Returns:
        the updated Step object
      • getWorkerGroupId

        public java.lang.String getWorkerGroupId()
        Returns:
        workerGroupId the id of the WorkerGroup for the step
      • setWorkerGroupId

        public Step setWorkerGroupId​(java.lang.String workerGroupId)
        Parameters:
        workerGroupId - the id of the WorkerGroup for the step
        Returns:
        the updated Step object
      • getStepName

        public java.lang.String getStepName()
        Returns:
        the step Name
      • setStepName

        public Step setStepName​(java.lang.String stepName)
        Parameters:
        stepName - the step Name to set
        Returns:
        the updated Step object
      • getDistribution

        public Distribution getDistribution()
        getDistribution
        Returns:
        the distribution object of step
      • setDistribution

        public Step setDistribution​(Distribution distribution)
        setDistribution
        Parameters:
        distribution - object
        Returns:
        the Step instance with distribution value setted
      • setBehavior

        public Step setBehavior​(ProcessBehavior behavior)
        Parameters:
        behavior - the Process Behavior to set
        Returns:
        the updated Step
      • getStepResponses

        public ItemStatus getStepResponses()
        Returns:
        the stepResponses
      • setStepResponses

        public Step setStepResponses​(ItemStatus stepResponses)
        Parameters:
        stepResponses - the stepResponses to set
        Returns:
        this
      • isBlocking

        public boolean isBlocking()
        Returns:
        True if this step is blocking
      • isFinally

        public boolean isFinally()
      • defaultLifecycleLog

        public void defaultLifecycleLog​(LifecycleState lifecycleLog)
      • getWaitFor

        public java.lang.String getWaitFor()
      • setWaitFor

        public void setWaitFor​(java.lang.String waitFor)