public enum ActionMode extends Enum<ActionMode>
| Enum Constant and Description |
|---|
PREFER_OFFLINE |
PREFER_ONLINE |
REQUIRE_OFFLINE |
REQUIRE_ONLINE |
| Modifier and Type | Method and Description |
|---|---|
static ActionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionMode PREFER_ONLINE
public static final ActionMode PREFER_OFFLINE
public static final ActionMode REQUIRE_ONLINE
public static final ActionMode REQUIRE_OFFLINE
public static ActionMode[] values()
for (ActionMode c : ActionMode.values()) System.out.println(c);
public static ActionMode 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 null