Class WorkflowState
java.lang.Object
com.scivicslab.workfloweditor.service.WorkflowState
Server-side holder for multiple workflow definitions (tabs).
Enables external API clients to inspect and manipulate workflows.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanactivateTab(String name) intaddAction(int tIndex, WorkflowResource.MatrixRow action, Integer aIndex) intaddStep(WorkflowResource.MatrixRow row, Integer index) deleteAction(int tIndex, int aIndex) deleteStep(int index) booleanintgetName()getRows()listTabs()voidreplaceAll(String name, List<WorkflowResource.MatrixRow> newRows, int maxIterations) voidsetDescription(String description) intsize()voidupdateAction(int tIndex, int aIndex, WorkflowResource.MatrixRow action) voidupdateStep(int index, WorkflowResource.MatrixRow row)
-
Constructor Details
-
WorkflowState
public WorkflowState()
-
-
Method Details
-
listTabs
-
getActiveTab
-
getTab
-
createTab
-
deleteTab
-
activateTab
-
renameTab
-
getName
-
getMaxIterations
public int getMaxIterations() -
getDescription
-
setDescription
-
getRows
-
size
public int size() -
replaceAll
-
addStep
-
updateStep
-
deleteStep
-
getTransitions
-
addAction
-
updateAction
-
deleteAction
-