com.atlassian.jira.functest.framework.admin
Interface WorkflowSteps

All Known Implementing Classes:
WorkflowStepsImpl

public interface WorkflowSteps

Represents the 'Workflow steps' page functionality

Since:
v4.3

Method Summary
 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
 WorkflowTransition editTransition(int stepId, int transitionId)
          Edit transition with given transitionId for step with given stepId.
 

Method Detail

editTransition

WorkflowTransition editTransition(int stepId,
                                  int transitionId)
Edit transition with given transitionId for step with given stepId.

Parameters:
stepId - ID of the step
transitionId - ID of the transition
Returns:
workflow transition functionality representation

add

WorkflowSteps add(String stepName,
                  String linkedStatus)
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.


Copyright © 2002-2012 Atlassian. All Rights Reserved.