com.atlassian.jira.functest.framework.admin
Class WorkflowStepsImpl
java.lang.Object
com.atlassian.jira.functest.framework.AbstractFuncTestUtil
com.atlassian.jira.functest.framework.admin.WorkflowStepsImpl
- All Implemented Interfaces:
- WorkflowSteps, FuncTestLogger
public class WorkflowStepsImpl
- extends AbstractFuncTestUtil
- implements WorkflowSteps
Default implementation of WorkflowSteps.
- Since:
- v4.3
|
Constructor Summary |
WorkflowStepsImpl(net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData,
int logIndentLevel)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkflowStepsImpl
public WorkflowStepsImpl(net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData,
int logIndentLevel)
editTransition
public WorkflowTransition editTransition(int stepId,
int transitionId)
- Description copied from interface:
WorkflowSteps
- Edit transition with given transitionId for step with given stepId.
- Specified by:
editTransition in interface WorkflowSteps
- Parameters:
stepId - ID of the steptransitionId - ID of the transition
- Returns:
- workflow transition functionality representation
add
public WorkflowSteps add(String stepName,
String linkedStatus)
- Description copied from interface:
WorkflowSteps
- Adds a step the current workflow.
- Specified by:
add in interface WorkflowSteps
- 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
public WorkflowSteps addTransition(String stepName,
String transitionName,
String transitionDescription,
String destinationStep,
String transitionFieldScreen)
- Description copied from interface:
WorkflowSteps
- Adds a transition to the current workflow
- Specified by:
addTransition in interface WorkflowSteps
- 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.
Copyright © 2002-2011 Atlassian. All Rights Reserved.