public static enum Tracker.OfflineMode extends java.lang.Enum<Tracker.OfflineMode>
Enum Constant and Description |
---|
always
hits are always stored
|
never
hits are never stored
|
required
hits are stored if no connection available
|
Modifier and Type | Method and Description |
---|---|
static Tracker.OfflineMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Tracker.OfflineMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tracker.OfflineMode never
public static final Tracker.OfflineMode required
public static final Tracker.OfflineMode always
public static Tracker.OfflineMode[] values()
for (Tracker.OfflineMode c : Tracker.OfflineMode.values()) System.out.println(c);
public static Tracker.OfflineMode 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 null