Class EditPermissionsComponent
java.lang.Object
com.atlassian.bamboo.pageobjects.components.permissions.EditPermissionsComponent
Component for configuring permissions. To be used on pages which use the asynchronous permissions configuration
widget.
- See Also:
-
Constructor Summary
ConstructorDescriptionEditPermissionsComponent
(com.atlassian.pageobjects.elements.PageElement container) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Whether adding new principals is possible for this component.boolean
Whether filtering is possible for this component.setFilterText
(String filter, Predicate<PermissionsTableComponent> changePredicate) Filter permissions table by the specifiedfilter
.void
Perform assertions or modifications on the form to add new principals.Perform assertions or modifications on the table of permissions.
-
Constructor Details
-
EditPermissionsComponent
public EditPermissionsComponent(com.atlassian.pageobjects.elements.PageElement container)
-
-
Method Details
-
waitForInitialization
public void waitForInitialization() -
setFilterText
public EditPermissionsComponent setFilterText(String filter, Predicate<PermissionsTableComponent> changePredicate) Filter permissions table by the specifiedfilter
. Set to empty to remove filtering.- Parameters:
changePredicate
- a predicate which will indicate that the filtering got successfully applied to the table
-
isFilteringEnabled
public boolean isFilteringEnabled()Whether filtering is possible for this component. -
withAddPrincipalsForm
public EditPermissionsComponent withAddPrincipalsForm(Consumer<AddPermissionPrincipalsComponent> consumer) Perform assertions or modifications on the form to add new principals. -
isAddingPrincipalsEnabled
public boolean isAddingPrincipalsEnabled()Whether adding new principals is possible for this component. -
withPermissionsTable
Perform assertions or modifications on the table of permissions.
-