java.lang.Object
fr.gouv.vitam.common.model.processing.Step
Direct Known Subclasses:
ProcessStep

public class Step extends Object
Step Object in process workflow
  • Constructor Details

  • Method Details

    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getActions

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

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

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

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

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

      public Step setStepName(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
    • getBehavior

      public ProcessBehavior getBehavior()
      Returns:
      the stepType
    • 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()
    • getPauseOrCancelAction

      public PauseOrCancelAction getPauseOrCancelAction()
    • setPauseOrCancelAction

      public Step setPauseOrCancelAction(PauseOrCancelAction pauseOrCancelAction)
    • defaultLifecycleLog

      public void defaultLifecycleLog(LifecycleState lifecycleLog)
    • getWaitFor

      public String getWaitFor()
    • setWaitFor

      public void setWaitFor(String waitFor)