com.vodafone360.people.engine.contactsync
Enum SyncStatus.TaskStatus

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

public static enum SyncStatus.TaskStatus
extends java.lang.Enum<SyncStatus.TaskStatus>

Sync task status.


Enum Constant Summary
NONE
          Do not show task status (i.e. leave blank).
RECEIVED_CONTACTS
          Received X of Y contacts.
SENT_CHANGES
          Sent X of Y changes.
SENT_CONTACTS
          Sent X of Y contacts.
 
Method Summary
static SyncStatus.TaskStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SyncStatus.TaskStatus[] 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

SENT_CONTACTS

public static final SyncStatus.TaskStatus SENT_CONTACTS
Sent X of Y contacts.


RECEIVED_CONTACTS

public static final SyncStatus.TaskStatus RECEIVED_CONTACTS
Received X of Y contacts.


SENT_CHANGES

public static final SyncStatus.TaskStatus SENT_CHANGES
Sent X of Y changes.


NONE

public static final SyncStatus.TaskStatus NONE
Do not show task status (i.e. leave blank).

Method Detail

values

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

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

valueOf

public static SyncStatus.TaskStatus 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