com.jivesoftware.community.event
Enum PollEvent.Type
java.lang.Object
java.lang.Enum<PollEvent.Type>
com.jivesoftware.community.event.PollEvent.Type
- All Implemented Interfaces:
- Serializable, Comparable<PollEvent.Type>
- Enclosing class:
- PollEvent
public static enum PollEvent.Type
- extends Enum<PollEvent.Type>
|
Method Summary |
static PollEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PollEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
CREATED
public static final PollEvent.Type CREATED
DELETING
public static final PollEvent.Type DELETING
MODIFIED
public static final PollEvent.Type MODIFIED
DELETED
public static final PollEvent.Type DELETED
VOTE_ADDED
public static final PollEvent.Type VOTE_ADDED
VOTE_MODIFIED
public static final PollEvent.Type VOTE_MODIFIED
VOTE_REMOVED
public static final PollEvent.Type VOTE_REMOVED
ANONYMOUS_VOTE_ADDED
public static final PollEvent.Type ANONYMOUS_VOTE_ADDED
ANONYMOUS_VOTE_MODIFIED
public static final PollEvent.Type ANONYMOUS_VOTE_MODIFIED
ANONYMOUS_VOTE_REMOVED
public static final PollEvent.Type ANONYMOUS_VOTE_REMOVED
VIEWED
public static final PollEvent.Type VIEWED
values
public static final PollEvent.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(PollEvent.Type c : PollEvent.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 PollEvent.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.