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

Nested Class Summary
static class ViewWorkflows.WorkflowItem
           
static class ViewWorkflows.WorkflowItemsList
           
static class ViewWorkflows.WorkflowState
           
 
Method Summary
 ViewWorkflows.WorkflowItemsList active()
           
 ViewWorkflows addWorkflow(String name, String description)
          Add new workflow with given name and description.
 WorkflowDesignerPage copyWorkflow(String nameToCopy, String newWorkflowName)
          Cope workflow with given nameToCopy as a new workflow named newWorkflowName.
 WorkflowDesignerPage copyWorkflow(String nameToCopy, String newWorkflowName, String newWorkflowDescription)
           
 WorkflowSteps createDraft(String name)
           
 WorkflowDesignerPage edit(String workflowName)
           
 ViewWorkflows goTo()
          Go to 'Workflows' page.
 ViewWorkflows.WorkflowItemsList inactive()
           
 boolean isEditable(String workflowName)
           
 boolean isImportWorkflowFromXmlButtonPresent()
          Whether the import workflow from xml operation is available.
 ViewWorkflows launchDesigner(String workflowName)
          Deprecated. Now the edit button always takes you to the workflow designer. Use edit(String) instead
 PublishDraftPage publishDraft(String name)
           
 ViewWorkflowPage view(String workflowName)
           
 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

edit

WorkflowDesignerPage edit(String workflowName)

createDraft

WorkflowSteps createDraft(String name)

publishDraft

PublishDraftPage publishDraft(String name)

copyWorkflow

WorkflowDesignerPage 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

copyWorkflow

WorkflowDesignerPage copyWorkflow(String nameToCopy,
                                  String newWorkflowName,
                                  String newWorkflowDescription)

workflowSteps

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

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

launchDesigner

@Deprecated
ViewWorkflows launchDesigner(String workflowName)
Deprecated. Now the edit button always takes you to the workflow designer. Use edit(String) instead

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.

active

ViewWorkflows.WorkflowItemsList active()

inactive

ViewWorkflows.WorkflowItemsList inactive()

isEditable

boolean isEditable(String workflowName)

view

ViewWorkflowPage view(String workflowName)


Copyright © 2002-2014 Atlassian. All Rights Reserved.