Package com.atlassian.crowd.event.group
Class GroupMembershipsCreatedEvent
java.lang.Object
com.atlassian.crowd.event.Event
com.atlassian.crowd.event.DirectoryEvent
com.atlassian.crowd.event.group.GroupMembershipsCreatedEvent
An Event that represents the creation 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 added. All the children contained will
have the same membershipType.
This replaces the
GroupMembershipCreatedEvent. In 2.x the two events are always emitted one after the other, with the same data.
Listeners should listen to either GroupMembershipsCreatedEvent or GroupMembershipCreatedEvent.- Since:
- 2.10
-
Constructor Summary
ConstructorsConstructorDescriptionGroupMembershipsCreatedEvent(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, getDirectoryTypeMethods inherited from class com.atlassian.crowd.event.Event
getSource, getTimestamp
-
Constructor Details
-
GroupMembershipsCreatedEvent
-
-
Method Details
-
getEntityNames
-
getGroupName
-
getMembershipType
-
equals
- Overrides:
equalsin classDirectoryEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classDirectoryEvent
-