org.opencrx.application.airsync.datatypes
Enum PingStatus
java.lang.Object
java.lang.Enum<PingStatus>
org.opencrx.application.airsync.datatypes.PingStatus
- All Implemented Interfaces:
- Serializable, Comparable<PingStatus>
public enum PingStatus
- extends Enum<PingStatus>
|
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. |
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
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.