com.vodafone360.people.engine.login
Enum LoginEngine.State

java.lang.Object
  extended by java.lang.Enum<LoginEngine.State>
      extended by com.vodafone360.people.engine.login.LoginEngine.State
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LoginEngine.State>
Enclosing class:
LoginEngine

private static enum LoginEngine.State
extends java.lang.Enum<LoginEngine.State>

List of states for LoginEngine.


Enum Constant Summary
ACTIVATING_ACCOUNT
           
CREATING_SESSION_AUTO
           
CREATING_SESSION_MANUAL
           
FETCHING_PRIVACY_STATEMENT
           
FETCHING_TERMS_OF_SERVICE
           
FETCHING_USERNAME_STATE
           
LOGGED_OFF
           
LOGGED_OFF_WAITING_FOR_NETWORK
           
LOGGED_OFF_WAITING_FOR_RETRY
           
LOGGED_ON
           
LOGIN_FAILED
           
LOGIN_FAILED_WRONG_CREDENTIALS
           
NOT_INITIALISED
           
NOT_REGISTERED
           
REQUESTING_ACTIVATION_CODE
           
RETRIEVING_PUBLIC_KEY
           
SIGNING_UP
           
 
Method Summary
static LoginEngine.State valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LoginEngine.State[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NOT_INITIALISED

public static final LoginEngine.State NOT_INITIALISED

NOT_REGISTERED

public static final LoginEngine.State NOT_REGISTERED

LOGGED_ON

public static final LoginEngine.State LOGGED_ON

LOGGED_OFF

public static final LoginEngine.State LOGGED_OFF

LOGGED_OFF_WAITING_FOR_RETRY

public static final LoginEngine.State LOGGED_OFF_WAITING_FOR_RETRY

LOGGED_OFF_WAITING_FOR_NETWORK

public static final LoginEngine.State LOGGED_OFF_WAITING_FOR_NETWORK

LOGIN_FAILED

public static final LoginEngine.State LOGIN_FAILED

LOGIN_FAILED_WRONG_CREDENTIALS

public static final LoginEngine.State LOGIN_FAILED_WRONG_CREDENTIALS

SIGNING_UP

public static final LoginEngine.State SIGNING_UP

FETCHING_TERMS_OF_SERVICE

public static final LoginEngine.State FETCHING_TERMS_OF_SERVICE

FETCHING_PRIVACY_STATEMENT

public static final LoginEngine.State FETCHING_PRIVACY_STATEMENT

FETCHING_USERNAME_STATE

public static final LoginEngine.State FETCHING_USERNAME_STATE

REQUESTING_ACTIVATION_CODE

public static final LoginEngine.State REQUESTING_ACTIVATION_CODE

CREATING_SESSION_MANUAL

public static final LoginEngine.State CREATING_SESSION_MANUAL

ACTIVATING_ACCOUNT

public static final LoginEngine.State ACTIVATING_ACCOUNT

CREATING_SESSION_AUTO

public static final LoginEngine.State CREATING_SESSION_AUTO

RETRIEVING_PUBLIC_KEY

public static final LoginEngine.State RETRIEVING_PUBLIC_KEY
Method Detail

values

public static LoginEngine.State[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (LoginEngine.State c : LoginEngine.State.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static LoginEngine.State valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


JavaDoc