public static enum SyncRequestControl.Mode extends java.lang.Enum<SyncRequestControl.Mode>
| Enum Constant and Description |
|---|
REFRESH_AND_PERSIST
refresh and persist.
|
REFRESH_ONLY
refresh only.
|
| Modifier and Type | Field and Description |
|---|---|
private int |
value
underlying value.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value()
Returns the value.
|
static SyncRequestControl.Mode |
valueOf(int i)
Returns the mode for the supplied integer constant.
|
static SyncRequestControl.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SyncRequestControl.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyncRequestControl.Mode REFRESH_ONLY
public static final SyncRequestControl.Mode REFRESH_AND_PERSIST
public static SyncRequestControl.Mode[] values()
for (SyncRequestControl.Mode c : SyncRequestControl.Mode.values()) System.out.println(c);
public static SyncRequestControl.Mode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int value()
public static SyncRequestControl.Mode valueOf(int i)
i - to find mode for