public class WorkflowStepsImpl extends Object implements WorkflowSteps
WorkflowSteps.| Constructor and Description |
|---|
WorkflowStepsImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData) |
WorkflowStepsImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData,
int logIndentLevel) |
| Modifier and Type | Method and Description |
|---|---|
WorkflowSteps |
add(String stepName,
String linkedStatus)
Adds a step the current workflow.
|
WorkflowSteps |
addTransition(String stepName,
String transitionName,
String transitionDescription,
String destinationStep,
String transitionFieldScreen)
Adds a transition to the current workflow
|
WorkflowSteps |
deleteStep(String stepName)
Deletes a step from the workflow
|
WorkflowSteps |
deleteTransition(String stepName,
String transitionName)
Deletes a transition from a specified step.
|
WorkflowTransition |
editTransition(int stepId,
int transitionId)
Edit transition with given transitionId for step with given stepId.
|
@Inject
public WorkflowStepsImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData)
public WorkflowStepsImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData,
int logIndentLevel)
public WorkflowTransition editTransition(int stepId, int transitionId)
WorkflowStepseditTransition in interface WorkflowStepsstepId - ID of the steptransitionId - ID of the transitionpublic WorkflowSteps add(String stepName, String linkedStatus)
WorkflowStepsadd in interface WorkflowStepsstepName - The name of the step.linkedStatus - The status to be linked to this step.public WorkflowSteps addTransition(String stepName, String transitionName, String transitionDescription, String destinationStep, String transitionFieldScreen)
WorkflowStepsaddTransition in interface WorkflowStepsstepName - 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.public WorkflowSteps deleteStep(String stepName)
WorkflowStepsdeleteStep in interface WorkflowStepsstepName - The step name to delete.public WorkflowSteps deleteTransition(String stepName, String transitionName)
WorkflowStepsdeleteTransition in interface WorkflowStepsstepName - the step nametransitionName - the transition nameCopyright © 2002-2022 Atlassian. All Rights Reserved.