public class EditPermissionsComponent extends Object
AbstractPermissionsPage
Constructor and Description |
---|
EditPermissionsComponent(com.atlassian.pageobjects.elements.PageElement container) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAddingPrincipalsEnabled()
Whether adding new principals is possible for this component.
|
boolean |
isFilteringEnabled()
Whether filtering is possible for this component.
|
EditPermissionsComponent |
setFilterText(String filter,
Predicate<PermissionsTableComponent> changePredicate)
Filter permissions table by the specified
filter . |
void |
waitForInitialization() |
EditPermissionsComponent |
withAddPrincipalsForm(Consumer<AddPermissionPrincipalsComponent> consumer)
Perform assertions or modifications on the form to add new principals.
|
EditPermissionsComponent |
withPermissionsTable(Consumer<PermissionsTableComponent> consumer)
Perform assertions or modifications on the table of permissions.
|
public EditPermissionsComponent(com.atlassian.pageobjects.elements.PageElement container)
public void waitForInitialization()
public EditPermissionsComponent setFilterText(String filter, Predicate<PermissionsTableComponent> changePredicate)
filter
. Set to empty to remove filtering.changePredicate
- a predicate which will indicate that the filtering got successfully applied to the tablepublic boolean isFilteringEnabled()
public EditPermissionsComponent withAddPrincipalsForm(Consumer<AddPermissionPrincipalsComponent> consumer)
public boolean isAddingPrincipalsEnabled()
public EditPermissionsComponent withPermissionsTable(Consumer<PermissionsTableComponent> consumer)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.