Package com.atlassian.crowd.event.group
Class GroupMembershipsDeletedEvent
java.lang.Object
com.atlassian.crowd.event.Event
com.atlassian.crowd.event.DirectoryEvent
com.atlassian.crowd.event.group.GroupMembershipsDeletedEvent
An Event that represents the deletion of one or more Principal/Child Group to Group membership(s)
The event will be emitted once for each parent, and can contain a number of children deleted. All the children contained will
have the same membershipType.
This replaces the
GroupMembershipDeletedEvent
. In 5.x the two events are always emitted one after the other, with the same data.
Listeners should listen to either GroupMembershipsDeletedEvent
or GroupMembershipDeletedEvent
.- Since:
- 5.0.4
-
Constructor Summary
ConstructorDescriptionGroupMembershipsDeletedEvent
(Object source, Directory directory, Iterable<String> entityNames, String groupName, MembershipType membershipType) -
Method Summary
Methods inherited from class com.atlassian.crowd.event.DirectoryEvent
getDirectory, getDirectoryId, getDirectoryImplementationClass, getDirectoryType
Methods inherited from class com.atlassian.crowd.event.Event
getSource, getTimestamp
-
Constructor Details
-
GroupMembershipsDeletedEvent
-
-
Method Details
-
getEntityNames
-
getGroupName
-
getMembershipType
-
equals
- Overrides:
equals
in classDirectoryEvent
-
hashCode
public int hashCode()- Overrides:
hashCode
in classDirectoryEvent
-