com.jivesoftware.base.event
Enum GroupEvent.Type
java.lang.Object
java.lang.Enum<GroupEvent.Type>
com.jivesoftware.base.event.GroupEvent.Type
- All Implemented Interfaces:
- Serializable, Comparable<GroupEvent.Type>
- Enclosing class:
- GroupEvent
public static enum GroupEvent.Type
- extends Enum<GroupEvent.Type>
|
Method Summary |
static GroupEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GroupEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
CREATED
public static final GroupEvent.Type CREATED
DELETED
public static final GroupEvent.Type DELETED
USER_ADDED
public static final GroupEvent.Type USER_ADDED
USER_DELETED
public static final GroupEvent.Type USER_DELETED
ADMINISTRATOR_ADDED
public static final GroupEvent.Type ADMINISTRATOR_ADDED
ADMINISTRATOR_DELETED
public static final GroupEvent.Type ADMINISTRATOR_DELETED
MODIFIED
public static final GroupEvent.Type MODIFIED
values
public static final GroupEvent.Type[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(GroupEvent.Type c : GroupEvent.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static GroupEvent.Type valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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 type has no constant
with the specified name
Copyright © 1999-2007 Jive Software.