public enum SyncState extends Enum<SyncState>
| Enum Constant and Description |
|---|
BaseDirect |
BaseIndirect |
UTCDirect |
UTCIndirect |
| Modifier and Type | Method and Description |
|---|---|
static SyncState |
fromInteger(Integer integer) |
Integer |
getCode() |
String |
getValue() |
static SyncState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyncState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyncState UTCDirect
public static final SyncState UTCIndirect
public static final SyncState BaseDirect
public static final SyncState BaseIndirect
public static SyncState[] values()
for (SyncState c : SyncState.values()) System.out.println(c);
public static SyncState 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 Integer getCode()
public String getValue()
Copyright © 2016 Thomas Borg Salling. All rights reserved.