org.opencrx.application.airsync.datatypes
Enum PingStatus

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

public enum PingStatus
extends Enum<PingStatus>


Enum Constant Summary
CHANGES_OCCURED
           
FOLDER_SYNC_REQUIRED
           
INVALID_HEARTBEAT_INTERVAL
           
MISSING_REQUEST_PARAMS
           
NO_CHANGES
           
SERVER_ERROR
           
SYNTAX_ERROR_IN_REQUEST
           
TOO_MANY_FOLDERS
           
 
Method Summary
 int getValue()
           
static PingStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PingStatus[] 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

NO_CHANGES

public static final PingStatus NO_CHANGES

CHANGES_OCCURED

public static final PingStatus CHANGES_OCCURED

MISSING_REQUEST_PARAMS

public static final PingStatus MISSING_REQUEST_PARAMS

SYNTAX_ERROR_IN_REQUEST

public static final PingStatus SYNTAX_ERROR_IN_REQUEST

INVALID_HEARTBEAT_INTERVAL

public static final PingStatus INVALID_HEARTBEAT_INTERVAL

TOO_MANY_FOLDERS

public static final PingStatus TOO_MANY_FOLDERS

FOLDER_SYNC_REQUIRED

public static final PingStatus FOLDER_SYNC_REQUIRED

SERVER_ERROR

public static final PingStatus SERVER_ERROR
Method Detail

values

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

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

valueOf

public static PingStatus 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.