Interface WorkflowSteps
- All Known Implementing Classes:
WorkflowStepsImpl
public interface WorkflowSteps
Represents the 'Workflow steps' page functionality
- Since:
- v4.3
-
Method Summary
Modifier and TypeMethodDescriptionAdds a step the current workflow.addTransition
(String stepName, String transitionName, String transitionDescription, String destinationStep, String transitionFieldScreen) Adds a transition to the current workflowdeleteStep
(String stepName) Deletes a step from the workflowdeleteTransition
(String stepName, String transitionName) Deletes a transition from a specified step.editTransition
(int stepId, int transitionId) Edit transition with given transitionId for step with given stepId.
-
Method Details
-
editTransition
Edit transition with given transitionId for step with given stepId.- Parameters:
stepId
- ID of the steptransitionId
- ID of the transition- Returns:
- workflow transition functionality representation
-
add
Adds a step the current workflow.- Parameters:
stepName
- The name of the step.linkedStatus
- The status to be linked to this step.- Returns:
- this instance of the workflow steps page.
-
addTransition
WorkflowSteps addTransition(String stepName, String transitionName, String transitionDescription, String destinationStep, String transitionFieldScreen) Adds a transition to the current workflow- Parameters:
stepName
- The origin workflow step for this transition.transitionName
- The name of the transition to add.transitionDescription
- A description for the transition to add.destinationStep
- The destination step for this transition.transitionFieldScreen
- The screen to display.- Returns:
- this instance of the workflow steps page.
-
deleteStep
Deletes a step from the workflow- Parameters:
stepName
- The step name to delete.- Returns:
- this instance of the workflow steps page.
-
deleteTransition
Deletes a transition from a specified step.- Parameters:
stepName
- the step nametransitionName
- the transition name- Returns:
- this instance of the workflow steps page.
-