public enum ResultType extends java.lang.Enum<ResultType> implements java.io.Serializable
| Enum Constant and Description |
|---|
REQUEST_FAILED
Constant REQUEST_FAILED
|
REQUEST_SUCCESSFUL
Constant REQUEST_SUCCESSFUL
|
| Modifier and Type | Method and Description |
|---|---|
static ResultType |
fromValue(java.lang.String value)
Method fromValue.
|
void |
setValue(java.lang.String value) |
java.lang.String |
toString()
Method toString.
|
java.lang.String |
value()
Method value.
|
static ResultType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultType REQUEST_SUCCESSFUL
public static final ResultType REQUEST_FAILED
public static ResultType[] values()
for (ResultType c : ResultType.values()) System.out.println(c);
public static ResultType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static ResultType fromValue(java.lang.String value)
value - public void setValue(java.lang.String value)
value - public java.lang.String toString()
toString in class java.lang.Enum<ResultType>public java.lang.String value()
Copyright © 2016. All Rights Reserved.