Interface UpdatableGlobalRolesField

All Superinterfaces:
CanRender<Renderer<? extends Renderer<?>>>, Field, GlobalRolesField, Iterable<String>, IterableWithSize<String>

public interface UpdatableGlobalRolesField extends GlobalRolesField
Since:
3.19.3
  • Method Details

    • addRole

      void addRole(@NotNull String roleId)
      Adds a Global Role to the group.
      Throws:
      IllegalArgumentException - if the Role with the given ID does not exist.
    • removeRole

      void removeRole(@NotNull String roleId)
      Removes a Global Role, if there, from the group.