public interface

PermissionModifiedEvent

com.atlassian.bitbucket.event.permission.PermissionModifiedEvent
Known Indirect Subclasses

Class Overview

An event which is fired when a user or group has their permission modified.

Summary

Public Methods
@Nullable String getAffectedGroup()
@Nullable ApplicationUser getAffectedUser()
@Nonnull Permission getNewValue()
@Nonnull Permission getOldValue()

Public Methods

@Nullable public String getAffectedGroup ()

Returns
  • the affected group of null if a user was affected

@Nullable public ApplicationUser getAffectedUser ()

Returns
  • the affected user of null if a group was affected

@Nonnull public Permission getNewValue ()

Returns
  • the new permission which replaced the previous value

@Nonnull public Permission getOldValue ()

Returns
  • the old permission which was replaced