com.atlassian.jira.pageobjects.pages.admin.roles
Class ViewProjectRolesPage

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.roles.ViewProjectRolesPage
All Implemented Interfaces:
com.atlassian.pageobjects.Page

public class ViewProjectRolesPage
extends AbstractJiraAdminPage

Page object representing the View Project roles page.

Since:
v5.1

Nested Class Summary
static class ViewProjectRolesPage.ProjectRole
           
 
Field Summary
protected  ExtendedElementFinder extendedFinder
           
protected  com.atlassian.pageobjects.PageBinder pageBinder
           
protected  com.atlassian.pageobjects.elements.PageElement projectRolesContainer
           
protected  com.atlassian.pageobjects.elements.PageElement roleSubmitLink
           
 
Fields inherited from class com.atlassian.jira.pageobjects.pages.AbstractJiraPage
body, driver, elementFinder, footerElement, metaElement, timeouts
 
Constructor Summary
ViewProjectRolesPage()
           
 
Method Summary
 ViewProjectRolesPage.ProjectRole getProjectRole(String projectRoleName)
          Returns a ProjectRole given the page element id (not the project role numeric id)
 com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<ViewProjectRolesPage.ProjectRole>> getProjectRoles()
           
 String getUrl()
           
 com.atlassian.pageobjects.elements.query.TimedCondition hasProjectRole(String projectRoleName)
           
 com.atlassian.pageobjects.elements.query.TimedCondition isAt()
          Timed condition checking if we're at given page.
 String linkId()
          ID of the link in the admin menu.
 
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
 

Field Detail

pageBinder

@Inject
protected com.atlassian.pageobjects.PageBinder pageBinder

extendedFinder

@Inject
protected ExtendedElementFinder extendedFinder

roleSubmitLink

protected com.atlassian.pageobjects.elements.PageElement roleSubmitLink

projectRolesContainer

protected com.atlassian.pageobjects.elements.PageElement projectRolesContainer
Constructor Detail

ViewProjectRolesPage

public ViewProjectRolesPage()
Method Detail

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

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

getProjectRoles

public com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<ViewProjectRolesPage.ProjectRole>> getProjectRoles()

hasProjectRole

public com.atlassian.pageobjects.elements.query.TimedCondition hasProjectRole(String projectRoleName)

getProjectRole

public ViewProjectRolesPage.ProjectRole getProjectRole(String projectRoleName)
Returns a ProjectRole given the page element id (not the project role numeric id)

Parameters:
projectRoleName -
Returns:


Copyright © 2002-2014 Atlassian. All Rights Reserved.