com.atlassian.jira.pageobjects.pages
Class EditPermissionsPage.PermissionsRow

java.lang.Object
  extended by com.atlassian.pageobjects.elements.WebDriverElement
      extended by com.atlassian.jira.pageobjects.pages.EditPermissionsPage.PermissionsRow
All Implemented Interfaces:
com.atlassian.pageobjects.elements.PageElement, com.atlassian.pageobjects.elements.PageElementFinder
Enclosing class:
EditPermissionsPage

public static final class EditPermissionsPage.PermissionsRow
extends com.atlassian.pageobjects.elements.WebDriverElement

Permissions row (inside permissions table) row with EditPermissionsPage.PermissionsRowPermission-s.


Field Summary
 
Fields inherited from class com.atlassian.pageobjects.elements.WebDriverElement
defaultTimeout, driver, locatable, pageBinder, timeouts
 
Constructor Summary
EditPermissionsPage.PermissionsRow(org.openqa.selenium.By locator)
          Constructor.
EditPermissionsPage.PermissionsRow(org.openqa.selenium.By locator, com.atlassian.pageobjects.elements.WebDriverLocatable parent)
          Constructor.
 
Method Summary
 com.atlassian.pageobjects.elements.PageElement getAddLink()
           
 EditPermissionsPage.PermissionsRowPermission getPermissionByGroup(String group)
          EditPermissionsPage.PermissionsRowPermission for provided group.
 boolean hasPermissionForGroup(String group)
          Determines whether a group permission exists.
 
Methods inherited from class com.atlassian.pageobjects.elements.WebDriverElement
asWebElement, clear, click, find, find, find, find, findAll, findAll, findAll, findAll, getAttribute, getLocation, getSize, getTagName, getText, getValue, hasAttribute, hasClass, isEnabled, isPresent, isSelected, isVisible, javascript, select, timed, timeout, timeoutInSeconds, toggle, toString, type, waitForWebElement, withTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EditPermissionsPage.PermissionsRow

public EditPermissionsPage.PermissionsRow(org.openqa.selenium.By locator)
Constructor.

Parameters:
locator -

EditPermissionsPage.PermissionsRow

public EditPermissionsPage.PermissionsRow(org.openqa.selenium.By locator,
                                          com.atlassian.pageobjects.elements.WebDriverLocatable parent)
Constructor.

Parameters:
locator -
parent -
Method Detail

getPermissionByGroup

public EditPermissionsPage.PermissionsRowPermission getPermissionByGroup(String group)
EditPermissionsPage.PermissionsRowPermission for provided group.

Parameters:
group - name of group e.g.: anyone
Returns:
resolved permission

hasPermissionForGroup

public boolean hasPermissionForGroup(String group)
Determines whether a group permission exists.

Parameters:
group - name of group e.g.: anyone
Returns:
boolean value indicating whether the group permission exists

getAddLink

public com.atlassian.pageobjects.elements.PageElement getAddLink()
Returns:
Add link for a permission


Copyright © 2002-2014 Atlassian. All Rights Reserved.