public interface

ViewWorkflows

com.atlassian.jira.functest.framework.admin.ViewWorkflows
Known Indirect Subclasses

Class Overview

Represents operations on the 'Workflows' page in administration.

Summary

Nested Classes
class ViewWorkflows.WorkflowItem  
class ViewWorkflows.WorkflowItemsList  
enum ViewWorkflows.WorkflowState  
Public Methods
ViewWorkflows.WorkflowItemsList active()
ViewWorkflows addWorkflow(String name, String description)
Add new workflow with given name and description.
WorkflowDesignerPage copyWorkflow(String nameToCopy, String newWorkflowName, String newWorkflowDescription)
WorkflowDesignerPage copyWorkflow(String nameToCopy, String newWorkflowName)
Cope workflow with given nameToCopy as a new workflow named newWorkflowName.
WorkflowSteps createDraft(String name)
ViewWorkflows delete(String workflowName)
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.
@Deprecated ViewWorkflows launchDesigner(String workflowName)
This method is deprecated. Now the edit button always takes you to the workflow designer. Use edit(String) instead
PublishDraftPage publishDraft(String name)
ViewWorkflowPage view(String workflowName)
WorkflowInitialStep workflowInitialStep(String workflowName)
Going to "Edit workflow designer", which is necessary step to manually browse edit "Create" transition page.
WorkflowSteps workflowSteps(String workflowName)
Go to 'Workflow steps' page for given workflow

Public Methods

public 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

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

public 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

public WorkflowSteps createDraft (String name)

public ViewWorkflows delete (String workflowName)

public WorkflowDesignerPage edit (String workflowName)

public ViewWorkflows goTo ()

Go to 'Workflows' page.

Returns
  • this workflows instance

public ViewWorkflows.WorkflowItemsList inactive ()

public boolean isEditable (String workflowName)

public boolean isImportWorkflowFromXmlButtonPresent ()

Whether the import workflow from xml operation is available.

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

@Deprecated public ViewWorkflows launchDesigner (String workflowName)

This method is 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

public PublishDraftPage publishDraft (String name)

public ViewWorkflowPage view (String workflowName)

public WorkflowInitialStep workflowInitialStep (String workflowName)

Going to "Edit workflow designer", which is necessary step to manually browse edit "Create" transition page.

Returns

public WorkflowSteps workflowSteps (String workflowName)

Go to 'Workflow steps' page for given workflow

Parameters
workflowName name of the workflow
Returns
  • workflow steps