com.vodafone360.people.engine.activities
Enum ActivitiesEngine.State

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

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

Definitions of Activities engines states; IDLE - engine is inactive FETCH_STATUSES_FIRST_TIME: 1st time sync of statuses, FETCH_CALLOG_FIRST_TIME: first time sync of phone calls, UPDATE_STATUSES: updating statuses from server (user has pressed the "refresh button" or push event's triggered the sync), UPDATE_CALLOG_FROM_NATIVE: new timeline item appeared on the phone, FETCH_OLDER_CALLLOG_FROM_NATIVE_DB: user has pressed "more timelines" button, FETCH_SMS_FROM_NATIVE_DB: fetching SMS/MMS


Enum Constant Summary
FETCH_CALLOG_FIRST_TIME
           
FETCH_OLDER_CALLLOG_FROM_NATIVE_DB
           
FETCH_SMS_FROM_NATIVE_DB
           
FETCH_STATUSES_FIRST_TIME
           
IDLE
           
UPDATE_CALLOG_FROM_NATIVE
           
UPDATE_STATUSES
           
 
Method Summary
static ActivitiesEngine.State valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ActivitiesEngine.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

IDLE

public static final ActivitiesEngine.State IDLE

FETCH_STATUSES_FIRST_TIME

public static final ActivitiesEngine.State FETCH_STATUSES_FIRST_TIME

FETCH_CALLOG_FIRST_TIME

public static final ActivitiesEngine.State FETCH_CALLOG_FIRST_TIME

UPDATE_STATUSES

public static final ActivitiesEngine.State UPDATE_STATUSES

UPDATE_CALLOG_FROM_NATIVE

public static final ActivitiesEngine.State UPDATE_CALLOG_FROM_NATIVE

FETCH_OLDER_CALLLOG_FROM_NATIVE_DB

public static final ActivitiesEngine.State FETCH_OLDER_CALLLOG_FROM_NATIVE_DB

FETCH_SMS_FROM_NATIVE_DB

public static final ActivitiesEngine.State FETCH_SMS_FROM_NATIVE_DB
Method Detail

values

public static ActivitiesEngine.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 (ActivitiesEngine.State c : ActivitiesEngine.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 ActivitiesEngine.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