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

All Known Implementing Classes:
ViewWorkflowsImpl

public interface ViewWorkflows

Represents operations on the 'Workflows' page in administration.

Since:
v4.3

Method Summary
 ViewWorkflows addWorkflow(String name, String description)
          Add new workflow with given name and description.
 ViewWorkflows copyWorkflow(String nameToCopy, String newWorkflowName)
          Cope workflow with given nameToCopy as a new workflow named newWorkflowName.
 ViewWorkflows goTo()
          Go to 'Workflows' page.
 boolean isImportWorkflowFromXmlButtonPresent()
          Whether the import workflow from xml operation is available.
 ViewWorkflows launchDesigner(String workflowName)
          Launch the Workflow Designer for the given workflow
 WorkflowSteps workflowSteps(String workflowName)
          Go to 'Workflow steps' page for given workflow
 

Method Detail

goTo

ViewWorkflows goTo()
Go to 'Workflows' page.

Returns:
this workflows instance

addWorkflow

ViewWorkflows addWorkflow(String name,
                          String description)
Add new workflow with given name and description.

Parameters:
name - name of the new workflow
description - description of the new workflow
Returns:
this workflows instance

copyWorkflow

ViewWorkflows copyWorkflow(String nameToCopy,
                           String newWorkflowName)
Cope workflow with given nameToCopy as a new workflow named newWorkflowName.

Parameters:
nameToCopy - name of the workflow to copy (must exist)
newWorkflowName - name of the new workflow
Returns:
this workflows instance

workflowSteps

WorkflowSteps workflowSteps(String workflowName)
Go to 'Workflow steps' page for given workflow

Parameters:
workflowName - name of the workflow
Returns:
workflow steps

launchDesigner

ViewWorkflows launchDesigner(String workflowName)
Launch the Workflow Designer for the given workflow

Parameters:
workflowName - name of the workflow
Returns:
this workflows instance

isImportWorkflowFromXmlButtonPresent

boolean isImportWorkflowFromXmlButtonPresent()
Whether the import workflow from xml operation is available.

Returns:
true, if the import workflow from xml operation is available; otherwise, false.


Copyright © 2002-2012 Atlassian. All Rights Reserved.