Uses of Class
eu.cloudnetservice.driver.permission.PermissionGroup.Builder
Packages that use PermissionGroup.Builder
-
Uses of PermissionGroup.Builder in eu.cloudnetservice.driver.permission
Methods in eu.cloudnetservice.driver.permission that return PermissionGroup.BuilderModifier and TypeMethodDescriptionPermissionGroup.Builder.addGroup(@NonNull PermissionGroup group) Adds the given group to the parent groups of the permission group.PermissionGroup.Builder.addPermission(@NonNull Permission permission) Adds the given permission to the permissions of the group.static @NonNull PermissionGroup.BuilderPermissionGroup.builder()Creates a new permission group builder instance with all default values.static @NonNull PermissionGroup.BuilderPermissionGroup.builder(@NonNull PermissionGroup group) Creates a new permission group builder instance and copies all values from the given permission group.Sets the color of the permission group.PermissionGroup.Builder.defaultGroup(boolean defaultGroup) Sets whether the permission group is the default group or not.Sets the display of the permission group.PermissionGroup.Builder.groupPermissions(@NonNull Map<String, Set<Permission>> groupPermissions) Sets the group permissions of the permission group.PermissionGroup.Builder.groups(@NonNull Collection<String> groups) Sets the parent groups of the permission group.Sets the required name of the permission group.PermissionGroup.Builder.permissions(@NonNull Collection<Permission> permissions) Sets the permissions of the permission group.PermissionGroup.Builder.potency(int potency) Sets the potency of the permission group.Sets the prefix of the permission group.PermissionGroup.Builder.properties(@NonNull eu.cloudnetservice.common.document.gson.JsonDocument properties) Sets the properties of the permission group.PermissionGroup.Builder.sortId(int sortId) Sets the sort id of the permission group.Sets the suffix of the permission group.Method parameters in eu.cloudnetservice.driver.permission with type arguments of type PermissionGroup.BuilderModifier and TypeMethodDescriptionDefaultPermissionManagement.modifyGroup(@NonNull String name, @NonNull BiConsumer<PermissionGroup, PermissionGroup.Builder> modifier) Gets the permission group with the given name by usingPermissionManagement.group(String)and, if not null, puts it into the consumer, after that, the group will be updated by usingPermissionManagement.updateGroup(PermissionGroup).PermissionManagement.modifyGroup(@NonNull String name, @NonNull BiConsumer<PermissionGroup, PermissionGroup.Builder> modifier) Gets the permission group with the given name by usingPermissionManagement.group(String)and, if not null, puts it into the consumer, after that, the group will be updated by usingPermissionManagement.updateGroup(PermissionGroup).default @NonNull eu.cloudnetservice.common.concurrent.Task<PermissionGroup>PermissionManagement.modifyGroupAsync(@NonNull String name, @NonNull BiConsumer<PermissionGroup, PermissionGroup.Builder> modifier) Gets the permission group with the given name by usingPermissionManagement.group(String)and, if not null, puts it into the consumer, after that, the group will be updated by usingPermissionManagement.updateGroup(PermissionGroup).