Package org.ametys.cms.workflow.history
Class WorkflowHistory
java.lang.Object
org.ametys.cms.workflow.history.WorkflowHistory
Object representing a workflow history
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addStep
(HistoryStep step) Add the stepvoid
addValidatedVersion
(String versionName) Add a validated versiongetSteps()
Get the list of stepGet the validated versions
-
Constructor Details
-
WorkflowHistory
public WorkflowHistory()The constructor
-
-
Method Details
-
getSteps
Get the list of step- Returns:
- the list of step
-
addStep
Add the step- Parameters:
step
- the step
-
getValidatedVersions
Get the validated versions- Returns:
- the validated versions
-
addValidatedVersion
Add a validated version- Parameters:
versionName
- the version name
-