public static enum Relationship.Action extends Enum<Relationship.Action>
Enum Constant and Description |
---|
APPROVE |
BLOCK |
DENY |
FOLLOW |
UNBLOCK |
UNFOLLOW |
Modifier and Type | Method and Description |
---|---|
static Relationship.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Relationship.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Relationship.Action FOLLOW
public static final Relationship.Action UNFOLLOW
public static final Relationship.Action BLOCK
public static final Relationship.Action UNBLOCK
public static final Relationship.Action APPROVE
public static final Relationship.Action DENY
public static Relationship.Action[] values()
for (Relationship.Action c : Relationship.Action.values()) System.out.println(c);
public static Relationship.Action 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 © 2013. All Rights Reserved.