public enum SyncStatus extends Enum<SyncStatus>
Enum Constant and Description |
---|
DIRTY |
IN_SYNC |
OUT_OF_SYNC |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static SyncStatus |
getSyncStatusForName(String name) |
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.
|
public static final SyncStatus IN_SYNC
public static final SyncStatus OUT_OF_SYNC
public static final SyncStatus DIRTY
public static SyncStatus[] values()
for (SyncStatus c : SyncStatus.values()) System.out.println(c);
public static SyncStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String getName()
public static SyncStatus getSyncStatusForName(String name)
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.