Class EditPermissionsComponent

java.lang.Object
com.atlassian.bamboo.pageobjects.components.permissions.EditPermissionsComponent

public class EditPermissionsComponent extends Object
Component for configuring permissions. To be used on pages which use the asynchronous permissions configuration widget.
See Also:
  • 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 specified filter. 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

      public EditPermissionsComponent withPermissionsTable(Consumer<PermissionsTableComponent> consumer)
      Perform assertions or modifications on the table of permissions.