com.atlassian.jira.pageobjects.pages.admin.workflow
Class WorkflowsPage

java.lang.Object
  extended by com.atlassian.jira.pageobjects.pages.AbstractJiraPage
      extended by com.atlassian.jira.pageobjects.pages.AbstractJiraAdminPage
          extended by com.atlassian.jira.pageobjects.pages.admin.workflow.WorkflowsPage
All Implemented Interfaces:
com.atlassian.pageobjects.Page

public class WorkflowsPage
extends AbstractJiraAdminPage

Admin page for viewing workflows.

Since:
v4.4

Nested Class Summary
 class WorkflowsPage.Workflow
           
static class WorkflowsPage.WorkflowStatus
           
 
Field Summary
 
Fields inherited from class com.atlassian.jira.pageobjects.pages.AbstractJiraPage
body, driver, elementFinder, footerElement, metaElement, pageBinder, timeouts
 
Constructor Summary
WorkflowsPage()
           
 
Method Summary
 List<WorkflowsPage.Workflow> active()
           
 boolean closeActive()
           
 boolean closeInactive()
           
 void deleteWorkflow(String workflowName)
           
 WorkflowsPage.Workflow findWorkflow(String name)
           
 String getActiveText()
           
 String getInactiveText()
           
 String getUrl()
           
 List<WorkflowsPage.Workflow> inactive()
           
 boolean isActiveOpen()
           
 com.atlassian.pageobjects.elements.query.TimedCondition isAt()
          Timed condition checking if we're at given page.
 boolean isImportFromBundleLinkPresent()
           
 boolean isImportFromMarketplaceLinkPresent()
           
 boolean isImportFromXmlLinkPresent()
           
 boolean isInactiveOpen()
           
 String linkId()
          ID of the link in the admin menu.
static List<String> names(Iterable<? extends WorkflowsPage.Workflow> workflows)
           
 boolean openActive()
           
 AddWorkflowDialog openAddWorkflowDialog()
           
 CopyWorkflowDialog openCopyJiraDialog()
           
 WorkflowDesignerPage openDesigner(String workflowName)
           
 WorkflowDesignerPage openDesigner(String workflowName, boolean isDraft)
           
 boolean openInactive()
           
 List<WorkflowsPage.Workflow> workflows()
           
 
Methods inherited from class com.atlassian.jira.pageobjects.pages.AbstractJiraPage
back, createXsrfUrl, doWait, execKeyboardShortcut, getHeader, getPageTitle, getXsrfToken, isAdmin, isLoggedIn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowsPage

public WorkflowsPage()
Method Detail

getUrl

public String getUrl()

isAt

public com.atlassian.pageobjects.elements.query.TimedCondition isAt()
Description copied from class: AbstractJiraPage
Timed condition checking if we're at given page.

Specified by:
isAt in class AbstractJiraPage
Returns:
timed condition checking, if the test is at given page

linkId

public String linkId()
Description copied from class: AbstractJiraAdminPage
ID of the link in the admin menu.

Specified by:
linkId in class AbstractJiraAdminPage
Returns:
ID of the link to this page

isImportFromBundleLinkPresent

public boolean isImportFromBundleLinkPresent()

isImportFromMarketplaceLinkPresent

public boolean isImportFromMarketplaceLinkPresent()

isImportFromXmlLinkPresent

public boolean isImportFromXmlLinkPresent()

openCopyJiraDialog

public CopyWorkflowDialog openCopyJiraDialog()

openDesigner

public WorkflowDesignerPage openDesigner(String workflowName)

openDesigner

public WorkflowDesignerPage openDesigner(String workflowName,
                                         boolean isDraft)

openAddWorkflowDialog

public AddWorkflowDialog openAddWorkflowDialog()

getActiveText

public String getActiveText()

getInactiveText

public String getInactiveText()

active

public List<WorkflowsPage.Workflow> active()

inactive

public List<WorkflowsPage.Workflow> inactive()

workflows

public List<WorkflowsPage.Workflow> workflows()

names

public static List<String> names(Iterable<? extends WorkflowsPage.Workflow> workflows)

findWorkflow

public WorkflowsPage.Workflow findWorkflow(String name)

isActiveOpen

public boolean isActiveOpen()

openActive

public boolean openActive()

closeActive

public boolean closeActive()

isInactiveOpen

public boolean isInactiveOpen()

openInactive

public boolean openInactive()

closeInactive

public boolean closeInactive()

deleteWorkflow

public void deleteWorkflow(String workflowName)


Copyright © 2002-2014 Atlassian. All Rights Reserved.