com.vodafone360.people.engine.contactsync
Enum ContactSyncEngine.Mode

java.lang.Object
  extended by java.lang.Enum<ContactSyncEngine.Mode>
      extended by com.vodafone360.people.engine.contactsync.ContactSyncEngine.Mode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ContactSyncEngine.Mode>
Enclosing class:
ContactSyncEngine

public static enum ContactSyncEngine.Mode
extends java.lang.Enum<ContactSyncEngine.Mode>

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


Enum Constant Summary
FETCH_NATIVE_SYNC
           
FULL_SYNC
           
FULL_SYNC_FIRST_TIME
           
NONE
           
SERVER_SYNC
           
THUMBNAIL_SYNC
           
UPDATE_NATIVE_SYNC
           
 
Method Summary
static ContactSyncEngine.Mode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ContactSyncEngine.Mode[] 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

NONE

public static final ContactSyncEngine.Mode NONE

FULL_SYNC_FIRST_TIME

public static final ContactSyncEngine.Mode FULL_SYNC_FIRST_TIME

FULL_SYNC

public static final ContactSyncEngine.Mode FULL_SYNC

SERVER_SYNC

public static final ContactSyncEngine.Mode SERVER_SYNC

THUMBNAIL_SYNC

public static final ContactSyncEngine.Mode THUMBNAIL_SYNC

FETCH_NATIVE_SYNC

public static final ContactSyncEngine.Mode FETCH_NATIVE_SYNC

UPDATE_NATIVE_SYNC

public static final ContactSyncEngine.Mode UPDATE_NATIVE_SYNC
Method Detail

values

public static ContactSyncEngine.Mode[] 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 (ContactSyncEngine.Mode c : ContactSyncEngine.Mode.values())
    System.out.println(c);

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

valueOf

public static ContactSyncEngine.Mode 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