public enum BanafoRequestStateType extends java.lang.Enum<BanafoRequestStateType>
Enum Constant and Description |
---|
Canceled
The request is canceled by the user.
|
Error
The request is finished with error.
|
Finished
The request is finished successfully.
|
InProgress
The request is being processed.
|
NetworkError
The request is finished with network error.
|
Modifier and Type | Method and Description |
---|---|
static BanafoRequestStateType |
fromInt(int i) |
static BanafoRequestStateType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BanafoRequestStateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BanafoRequestStateType InProgress
public static final BanafoRequestStateType Finished
public static final BanafoRequestStateType Canceled
public static final BanafoRequestStateType NetworkError
public static final BanafoRequestStateType Error
public static BanafoRequestStateType[] values()
for (BanafoRequestStateType c : BanafoRequestStateType.values()) System.out.println(c);
public static BanafoRequestStateType 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 BanafoRequestStateType fromInt(int i)