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