Package org.jivesoftware.openfire.event
Enum Class GroupEventDispatcher.EventType
java.lang.Object
java.lang.Enum<GroupEventDispatcher.EventType>
org.jivesoftware.openfire.event.GroupEventDispatcher.EventType
- All Implemented Interfaces:
Serializable
,Comparable<GroupEventDispatcher.EventType>
,Constable
- Enclosing class:
- GroupEventDispatcher
Represents valid event types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn administrator was added to a group.An administrator was removed from a group.A new group was created.A group is about to be deleted.The name, description, or extended property of a group was changed.A member was added to a group.A member was removed from a group. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static GroupEventDispatcher.EventType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
group_created
A new group was created. -
group_deleting
A group is about to be deleted. Note that this event is fired before a group is actually deleted. This allows for referential cleanup before the group is gone. -
group_modified
The name, description, or extended property of a group was changed. -
member_added
A member was added to a group. -
member_removed
A member was removed from a group. -
admin_added
An administrator was added to a group. -
admin_removed
An administrator was removed from a group.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-