Class PermissionSetGroupsEvent
java.lang.Object
eu.cloudnetservice.driver.event.Event
eu.cloudnetservice.driver.event.events.permission.PermissionEvent
eu.cloudnetservice.driver.event.events.permission.PermissionSetGroupsEvent
An event being fired when the permission groups get updated during a cluster sync or all groups were set using the
api.
- Since:
- 4.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPermissionSetGroupsEvent(@NonNull PermissionManagement permissionManagement, @NonNull Collection<PermissionGroup> groups) Constructs a new permission event. -
Method Summary
Modifier and TypeMethodDescriptiongroups()Get all groups which were set during the update and are now recognized by the permission management.Methods inherited from class eu.cloudnetservice.driver.event.events.permission.PermissionEvent
permissionManagement
-
Field Details
-
groups
-
-
Constructor Details
-
PermissionSetGroupsEvent
public PermissionSetGroupsEvent(@NonNull @NonNull PermissionManagement permissionManagement, @NonNull @NonNull Collection<PermissionGroup> groups) Constructs a new permission event.- Parameters:
permissionManagement- the permission management associated with this event.groups- all groups which are now recognized by the permission management.- Throws:
NullPointerException- if either the given management or group collection is null.
-
-
Method Details
-
groups
Get all groups which were set during the update and are now recognized by the permission management.- Returns:
- all groups which were set during the update.
-