public class ConfigureSharedRepositoryPermissionsPage extends AbstractBambooAdminPage
driver, elementFinder, testedProduct
Constructor and Description |
---|
ConfigureSharedRepositoryPermissionsPage(long repositoryId) |
Modifier and Type | Method and Description |
---|---|
SharedRepositoriesPage |
cancel() |
String |
getUrl() |
com.atlassian.pageobjects.elements.PageElement |
indicator()
This must return an element whose presence indicates that we're on given page.
|
SharedRepositoriesPage |
save() |
ConfigureSharedRepositoryPermissionsPage |
setPermission(BambooTestPermission permission,
boolean granting)
Grant or revoke a permission to/from a specific principal.
|
getStateBanner, sideMenu
doWait, ensureIndicatorPresent, getFooter, getHeader, isAdmin, isLoggedIn, isPageLoaded
public ConfigureSharedRepositoryPermissionsPage(long repositoryId)
public com.atlassian.pageobjects.elements.PageElement indicator()
AbstractBambooPage
indicator
in class AbstractBambooPage
public String getUrl()
public ConfigureSharedRepositoryPermissionsPage setPermission(BambooTestPermission permission, boolean granting)
permission
- permission that is to be granted or revoked (includes information about the principal and
permission type)granting
- whether we are granting (true) or revoking (false) the permissionIllegalArgumentException
- if a principal or permission is incorrectUnsupportedOperationException
- if setting permission to a principal is not implemented yetpublic SharedRepositoriesPage save()
public SharedRepositoriesPage cancel()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.