public enum BanafoServiceStateType extends java.lang.Enum<BanafoServiceStateType>
Enum Constant and Description |
---|
Authorized
The service is ready and authorized.
|
Configuring
The service is getting its well known configuration.
|
Error
The service has experienced a Banafo error i.e.
|
NetworkError
The service has experienced a network error.
|
Ready
The service is in ready state but it is not authorized yet.
|
VerifyingAuthorizing
The service is waiting for the end user to verify the authorization on Banafo web site.
|
Modifier and Type | Method and Description |
---|---|
static BanafoServiceStateType |
fromInt(int i) |
static BanafoServiceStateType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BanafoServiceStateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BanafoServiceStateType Configuring
public static final BanafoServiceStateType Ready
public static final BanafoServiceStateType VerifyingAuthorizing
public static final BanafoServiceStateType Authorized
public static final BanafoServiceStateType NetworkError
public static final BanafoServiceStateType Error
public static BanafoServiceStateType[] values()
for (BanafoServiceStateType c : BanafoServiceStateType.values()) System.out.println(c);
public static BanafoServiceStateType 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 BanafoServiceStateType fromInt(int i)