com.atlassian.jira.pageobjects.pages.admin.issuetype
Class EditIssueTypeSchemePage

java.lang.Object
  extended by com.atlassian.jira.pageobjects.pages.AbstractJiraPage
      extended by com.atlassian.jira.pageobjects.pages.admin.issuetype.EditIssueTypeSchemePage
All Implemented Interfaces:
com.atlassian.pageobjects.Page

public class EditIssueTypeSchemePage
extends AbstractJiraPage

Represents the Edit Issue Type Scheme page.

Since:
v4.4

Field Summary
 
Fields inherited from class com.atlassian.jira.pageobjects.pages.AbstractJiraPage
body, driver, elementFinder, footerElement, metaElement, pageBinder
 
Constructor Summary
EditIssueTypeSchemePage()
           
EditIssueTypeSchemePage(Long schemeId)
           
EditIssueTypeSchemePage(String schemeId, String projectId)
           
 
Method Summary
 ProjectSharedBy getSharedBy()
           
 String getUrl()
           
 com.atlassian.pageobjects.elements.query.TimedCondition isAt()
          Timed condition checking if we're at given page.
 boolean isModifyingDefaultScheme()
          Whether we are modifying the default scheme
 EditIssueTypeSchemePage makeDefault(String issueTypeName)
          Makes an existing issue type the default for this issue type scheme

You will need to call submitSave() to commit your changes.

 EditIssueTypeSchemePage moveFromAvailableToAboveSelected(String availableIssueType, String selectedIssueType)
           
 EditIssueTypeSchemePage moveFromAvailableToBelowSelected(String availableIssueType, String selectedIssueType)
           
 EditIssueTypeSchemePage moveFromSelectedToAboveAvailable(String selectedIssueType, String availableIssueType)
           
 EditIssueTypeSchemePage moveFromSelectedToBelowAvailable(String selectedIssueType, String availableIssueType)
           
 EditIssueTypeSchemePage moveWithinSelectedToAbove(String sourceIssueType, String targetIssueType)
           
 EditIssueTypeSchemePage moveWithinSelectedToBelow(String sourceIssueType, String targetIssueType)
           
 void submitSave()
          Commits the current changes.
 
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

EditIssueTypeSchemePage

public EditIssueTypeSchemePage()

EditIssueTypeSchemePage

public EditIssueTypeSchemePage(String schemeId,
                               String projectId)

EditIssueTypeSchemePage

public EditIssueTypeSchemePage(Long schemeId)
Method Detail

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

getUrl

public String getUrl()

moveWithinSelectedToBelow

public EditIssueTypeSchemePage moveWithinSelectedToBelow(String sourceIssueType,
                                                         String targetIssueType)

moveWithinSelectedToAbove

public EditIssueTypeSchemePage moveWithinSelectedToAbove(String sourceIssueType,
                                                         String targetIssueType)

moveFromAvailableToBelowSelected

public EditIssueTypeSchemePage moveFromAvailableToBelowSelected(String availableIssueType,
                                                                String selectedIssueType)

moveFromAvailableToAboveSelected

public EditIssueTypeSchemePage moveFromAvailableToAboveSelected(String availableIssueType,
                                                                String selectedIssueType)

moveFromSelectedToBelowAvailable

public EditIssueTypeSchemePage moveFromSelectedToBelowAvailable(String selectedIssueType,
                                                                String availableIssueType)

moveFromSelectedToAboveAvailable

public EditIssueTypeSchemePage moveFromSelectedToAboveAvailable(String selectedIssueType,
                                                                String availableIssueType)

makeDefault

public EditIssueTypeSchemePage makeDefault(String issueTypeName)
Makes an existing issue type the default for this issue type scheme

You will need to call submitSave() to commit your changes.

Parameters:
issueTypeName - the name of the issue type to make default
Returns:
this page object so we can chain calls

submitSave

public void submitSave()
Commits the current changes. Note that this is currently broken when being accessed from the View Project page, as well as from the Project Configuration plugin. You will need to retry the xsrf operation to handle the save properly.


isModifyingDefaultScheme

public boolean isModifyingDefaultScheme()
Whether we are modifying the default scheme

Returns:
true if we are modifying the default scheme

getSharedBy

public ProjectSharedBy getSharedBy()


Copyright © 2002-2012 Atlassian. All Rights Reserved.