Interface PermissionRevokedEvent

All Known Implementing Classes:
GlobalPermissionRevokedEvent, ProjectPermissionRevokedEvent, RepositoryPermissionRevokedEvent

public interface PermissionRevokedEvent
An event which is fired when a user or group has had a permission revoked.
See Also:
  • Method Details

    • getAffectedGroup

      @Nullable String getAffectedGroup()
      Returns:
      the affected group of null if a user was affected
    • getAffectedUser

      @Nullable ApplicationUser getAffectedUser()
      Returns:
      the affected user of null if a group was affected
    • getPermission

      @Nonnull Permission getPermission()
      Returns:
      the permission revoked