com.jivesoftware.base.event
Enum UserEvent.Type
java.lang.Object
java.lang.Enum<UserEvent.Type>
com.jivesoftware.base.event.UserEvent.Type
- All Implemented Interfaces:
- Serializable, Comparable<UserEvent.Type>
- Enclosing class:
- UserEvent
public static enum UserEvent.Type
- extends Enum<UserEvent.Type>
|
Method Summary |
static UserEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static UserEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
AUTHENTICATING
public static final UserEvent.Type AUTHENTICATING
CREATED
public static final UserEvent.Type CREATED
DELETED
public static final UserEvent.Type DELETED
MODIFIED
public static final UserEvent.Type MODIFIED
LOGGED_IN
public static final UserEvent.Type LOGGED_IN
PROFILE_VIEWED
public static final UserEvent.Type PROFILE_VIEWED
LOGGED_OUT
public static final UserEvent.Type LOGGED_OUT
values
public static final UserEvent.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(UserEvent.Type c : UserEvent.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 UserEvent.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.