Class WorkFlow
java.lang.Object
fr.gouv.vitam.common.model.processing.WorkFlow
workflow class used for deserialize JSON file (root element)
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCommentgetId()
getId, get id of workflowgetIdentifier, get identifier of workflowgetName()
getName, get name of workflowgetSteps()
getSteps(), get all step of workflowgetTypeProc, get category of workflowstatic WorkFlow
setComment
(String comments) setComment, set the comment for workflowsetId, set the id of workflowsetIdentifier
(String identifier) setIdentifier, set the identifier of workflowsetLifecycleLog
(LifecycleState lifecycleLog) setName, set the name of workflowsetSteps, set the steps to workflowsetTypeProc
(String typeProc) setTypeProc, set the type of workflowtoString()
toString : get the workflowId and comments on workflow as String
-
Field Details
-
steps
steps properties, must be defined in JSON file(required)
-
-
Constructor Details
-
WorkFlow
public WorkFlow() -
WorkFlow
-
-
Method Details
-
of
-
getId
getId, get id of workflow- Returns:
- the workflowID
-
setId
setId, set the id of workflow- Parameters:
id
- as String- Returns:
- the WorkFlow instance with id setted
-
getName
getName, get name of workflow- Returns:
- the workflowName
-
setName
setName, set the name of workflow- Parameters:
name
- as String- Returns:
- the WorkFlow instance with name setted
-
getIdentifier
getIdentifier, get identifier of workflow- Returns:
- the workflowIdentifier
-
setIdentifier
setIdentifier, set the identifier of workflow- Parameters:
identifier
- as String- Returns:
- the WorkFlow instance with identifier setted
-
getTypeProc
getTypeProc, get category of workflow- Returns:
- the workflowType
-
setTypeProc
setTypeProc, set the type of workflow- Parameters:
typeProc
- as String- Returns:
- the WorkFlow instance with type setted
-
getComment
getComment- Returns:
- comments on workflow
-
getSteps
getSteps(), get all step of workflow- Returns:
- the list of type Step
-
setSteps
setSteps, set the steps to workflow- Parameters:
steps
- as List- Returns:
- the Workflow instance with steps setted
-
setComment
setComment, set the comment for workflow- Parameters:
comments
- of the workflow- Returns:
- the updated Workflow object
-
toString
toString : get the workflowId and comments on workflow as String -
getLifecycleLog
-
setLifecycleLog
-