public static enum SocialEvent.Status extends Enum<SocialEvent.Status>
Enum Constant and Description |
---|
FAILURE
Event reports a failure
|
SUCCESS
Event reports a success
|
UNKNOWN
Event status not significant
|
Modifier and Type | Method and Description |
---|---|
static SocialEvent.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SocialEvent.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocialEvent.Status SUCCESS
public static final SocialEvent.Status FAILURE
public static final SocialEvent.Status UNKNOWN
public static SocialEvent.Status[] values()
for (SocialEvent.Status c : SocialEvent.Status.values()) System.out.println(c);
public static SocialEvent.Status valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2012-2013. All Rights Reserved.