com.atlassian.jira.functest.framework.admin
Class WorkflowStepsImpl

java.lang.Object
  extended by com.atlassian.jira.functest.framework.AbstractFuncTestUtil
      extended by com.atlassian.jira.functest.framework.admin.WorkflowStepsImpl
All Implemented Interfaces:
WorkflowSteps, com.atlassian.jira.testkit.client.log.FuncTestLogger

public class WorkflowStepsImpl
extends AbstractFuncTestUtil
implements WorkflowSteps

Default implementation of WorkflowSteps.

Since:
v4.3

Field Summary
 
Fields inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
environmentData, FS, locators, logger, logIndentLevel, tester
 
Constructor Summary
WorkflowStepsImpl(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData, int logIndentLevel)
           
 
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.
 
Methods inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
childLogIndentLevel, getAssertions, getEnvironmentData, getFuncTestHelperFactory, getLogger, log, log, navigation, submitAtPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowStepsImpl

public WorkflowStepsImpl(net.sourceforge.jwebunit.WebTester tester,
                         JIRAEnvironmentData environmentData,
                         int logIndentLevel)
Method Detail

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 step
transitionId - 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-2015 Atlassian. All Rights Reserved.