Interface PermissionModifiedEvent

All Known Implementing Classes:
GlobalPermissionModifiedEvent, ProjectPermissionModifiedEvent, RepositoryPermissionModifiedEvent

public interface PermissionModifiedEvent
An event which is fired when a user or group has their permission modified.
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
    • getNewValue

      @Nonnull Permission getNewValue()
      Returns:
      the new permission which replaced the previous value
    • getOldValue

      @Nonnull Permission getOldValue()
      Returns:
      the old permission which was replaced