Class GroupCleanupEvent

java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.user.GroupCleanupEvent
All Implemented Interfaces:
Serializable

public class GroupCleanupEvent extends ApplicationEvent
Raised when a group is deleted from all user directories visible to the server.

Clients that store data used to authorize a group should subscribe to this event to clean up data related to the deleted group. For example, if a plugin allocates resource permissions to groups, it should listen for this event and delete those permissions.

See Also:
  • Constructor Details

    • GroupCleanupEvent

      public GroupCleanupEvent(@Nonnull Object source, @Nonnull String group)
  • Method Details

    • getGroup

      @Nonnull public String getGroup()