Class Step
java.lang.Object
fr.gouv.vitam.common.model.processing.Step
- Direct Known Subclasses:
ProcessStep
Step Object in process workflow
-
Constructor Summary
ConstructorDescriptionStep()
Step
(String id, String workerGroupId, String stepName, ProcessBehavior behavior, Distribution distribution, List<Action> actions, String waitFor) -
Method Summary
Modifier and TypeMethodDescriptionvoid
defaultLifecycleLog
(LifecycleState lifecycleLog) getActionsgetDistributiongetId()
boolean
boolean
setActions
(List<Action> actions) setBehavior
(ProcessBehavior behavior) setDistribution
(Distribution distribution) setDistributionvoid
setPauseOrCancelAction
(PauseOrCancelAction pauseOrCancelAction) setStepName
(String stepName) setStepResponses
(ItemStatus stepResponses) void
setWaitFor
(String waitFor) setWorkerGroupId
(String workerGroupId)
-
Constructor Details
-
Step
public Step() -
Step
public Step(String id, String workerGroupId, String stepName, ProcessBehavior behavior, Distribution distribution, List<Action> actions, String waitFor)
-
-
Method Details
-
getId
-
setId
-
getActions
getActions- Returns:
- the list of actions to be executed for the step
-
setActions
- Parameters:
actions
- the list of actions- Returns:
- the updated Step object
-
getWorkerGroupId
- Returns:
- workerGroupId the id of the WorkerGroup for the step
-
setWorkerGroupId
- Parameters:
workerGroupId
- the id of the WorkerGroup for the step- Returns:
- the updated Step object
-
getStepName
- Returns:
- the step Name
-
setStepName
- Parameters:
stepName
- the step Name to set- Returns:
- the updated Step object
-
getDistribution
getDistribution- Returns:
- the distribution object of step
-
setDistribution
setDistribution- Parameters:
distribution
- object- Returns:
- the Step instance with distribution value setted
-
getBehavior
- Returns:
- the stepType
-
setBehavior
- Parameters:
behavior
- the Process Behavior to set- Returns:
- the updated Step
-
getStepResponses
- Returns:
- the stepResponses
-
setStepResponses
- Parameters:
stepResponses
- the stepResponses to set- Returns:
- this
-
isBlocking
public boolean isBlocking()- Returns:
- True if this step is blocking
-
isFinally
public boolean isFinally() -
getPauseOrCancelAction
-
setPauseOrCancelAction
-
defaultLifecycleLog
-
getWaitFor
-
setWaitFor
-