org.opencrx.application.airsync.server
Enum SyncStatus

java.lang.Object
  extended by java.lang.Enum<SyncStatus>
      extended by org.opencrx.application.airsync.server.SyncStatus
All Implemented Interfaces:
Serializable, Comparable<SyncStatus>

public enum SyncStatus
extends Enum<SyncStatus>

Possible values for the status element in Sync reponses


Enum Constant Summary
CONFLICT
           
CONVERSATION_ERROR
           
HIERARCHY_CHANGED
           
INVALID_SYNC_KEY
           
NEED_RETRY
           
NOT_YET_PROVISIONNED
           
NOTIFICATION_GUID_ERROR
           
OBJECT_NOT_FOUND
           
OK
           
OUT_OF_DISK_SPACE
           
PARTIAL_REQUEST
           
PROTOCOL_ERROR
           
PROTOCOL_VERSION_MISMATCH
           
SERVER_ERROR
           
TO_MUCH_FOLDER_TO_MONITOR
           
WAIT_INTERVAL_OUT_OF_RANGE
           
 
Method Summary
 int getValue()
           
static SyncStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SyncStatus[] 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

OK

public static final SyncStatus OK

PROTOCOL_VERSION_MISMATCH

public static final SyncStatus PROTOCOL_VERSION_MISMATCH

INVALID_SYNC_KEY

public static final SyncStatus INVALID_SYNC_KEY

PROTOCOL_ERROR

public static final SyncStatus PROTOCOL_ERROR

SERVER_ERROR

public static final SyncStatus SERVER_ERROR

CONVERSATION_ERROR

public static final SyncStatus CONVERSATION_ERROR

CONFLICT

public static final SyncStatus CONFLICT

OBJECT_NOT_FOUND

public static final SyncStatus OBJECT_NOT_FOUND

OUT_OF_DISK_SPACE

public static final SyncStatus OUT_OF_DISK_SPACE

NOTIFICATION_GUID_ERROR

public static final SyncStatus NOTIFICATION_GUID_ERROR

NOT_YET_PROVISIONNED

public static final SyncStatus NOT_YET_PROVISIONNED

HIERARCHY_CHANGED

public static final SyncStatus HIERARCHY_CHANGED

PARTIAL_REQUEST

public static final SyncStatus PARTIAL_REQUEST

WAIT_INTERVAL_OUT_OF_RANGE

public static final SyncStatus WAIT_INTERVAL_OUT_OF_RANGE

TO_MUCH_FOLDER_TO_MONITOR

public static final SyncStatus TO_MUCH_FOLDER_TO_MONITOR

NEED_RETRY

public static final SyncStatus NEED_RETRY
Method Detail

values

public static SyncStatus[] 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 c : SyncStatus.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 valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getValue

public int getValue()


This software is published under the BSD license. Copyright © 2003-2010, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.