com.vodafone360.people.engine.content
Enum ContentObject.TransferStatus

java.lang.Object
  extended by java.lang.Enum<ContentObject.TransferStatus>
      extended by com.vodafone360.people.engine.content.ContentObject.TransferStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ContentObject.TransferStatus>
Enclosing class:
ContentObject

public static enum ContentObject.TransferStatus
extends java.lang.Enum<ContentObject.TransferStatus>

The TransferStatus of the ContentObject.


Enum Constant Summary
DONE
          The transfer completed with an error.
ERROR
          The transfer completed with an error.
INIT
          First status. the object has been created and the transfer has not started yet.
TRANSFERRING
          The transfer has started and is in progress.
 
Method Summary
static ContentObject.TransferStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ContentObject.TransferStatus[] 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

INIT

public static final ContentObject.TransferStatus INIT
First status. the object has been created and the transfer has not started yet.


TRANSFERRING

public static final ContentObject.TransferStatus TRANSFERRING
The transfer has started and is in progress.


ERROR

public static final ContentObject.TransferStatus ERROR
The transfer completed with an error.


DONE

public static final ContentObject.TransferStatus DONE
The transfer completed with an error.

Method Detail

values

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

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

valueOf

public static ContentObject.TransferStatus 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