public class

ViewWorkflowsImpl

extends AbstractFuncTestUtil
implements ViewWorkflows
java.lang.Object
   ↳ com.atlassian.jira.functest.framework.AbstractFuncTestUtil
     ↳ com.atlassian.jira.functest.framework.admin.ViewWorkflowsImpl

Class Overview

Default implementation of ViewWorkflows

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
Public Constructors
ViewWorkflowsImpl(WebTester tester, JIRAEnvironmentData environmentData, int logIndentLevel, Navigation navigation)
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 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)
Launch the Workflow Designer for the given workflow
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
[Expand]
Inherited Methods
From class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
From class java.lang.Object
From interface com.atlassian.jira.functest.framework.admin.ViewWorkflows
From interface com.atlassian.jira.testkit.client.log.FuncTestLogger

Public Constructors

public ViewWorkflowsImpl (WebTester tester, JIRAEnvironmentData environmentData, int logIndentLevel, Navigation navigation)

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 name)

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.

public ViewWorkflows launchDesigner (String workflowName)

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