com.vodafone360.people.engine.meprofile
Enum SyncMeEngine.State

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

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

Defines the contact sync mode. The mode determines the sequence in which the contact sync processors are run.


Enum Constant Summary
FETCHING_ME_PROFILE_CHANGES
          The state when the engine is downloading Me Profile from server.
FETCHING_ME_PROFILE_THUMBNAIL
          The state when the engine is downloading Me Profile thumbnail.
IDLE
          The state when the engine is not running and has nothing on the todo list.
UPDATING_ME_PRESENCE_TEXT
          The state when the engine is uploading Me Profile status message.
UPDATING_ME_PROFILE
          The state when the engine is uploading Me Profile to server.
 
Method Summary
static SyncMeEngine.State valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SyncMeEngine.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 SyncMeEngine.State IDLE
The state when the engine is not running and has nothing on the todo list.


FETCHING_ME_PROFILE_CHANGES

public static final SyncMeEngine.State FETCHING_ME_PROFILE_CHANGES
The state when the engine is downloading Me Profile from server.


UPDATING_ME_PROFILE

public static final SyncMeEngine.State UPDATING_ME_PROFILE
The state when the engine is uploading Me Profile to server.


UPDATING_ME_PRESENCE_TEXT

public static final SyncMeEngine.State UPDATING_ME_PRESENCE_TEXT
The state when the engine is uploading Me Profile status message.


FETCHING_ME_PROFILE_THUMBNAIL

public static final SyncMeEngine.State FETCHING_ME_PROFILE_THUMBNAIL
The state when the engine is downloading Me Profile thumbnail.

Method Detail

values

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