public static enum PushNodesResult.Reason extends Enum<PushNodesResult.Reason>
Enum Constant and Description |
---|
ACCESS_DENIED |
ALREADY_EXIST |
PARENT_NOT_FOUND |
Modifier and Type | Method and Description |
---|---|
static PushNodesResult.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PushNodesResult.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PushNodesResult.Reason ALREADY_EXIST
public static final PushNodesResult.Reason PARENT_NOT_FOUND
public static final PushNodesResult.Reason ACCESS_DENIED
public static PushNodesResult.Reason[] values()
for (PushNodesResult.Reason c : PushNodesResult.Reason.values()) System.out.println(c);
public static PushNodesResult.Reason 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 null