public enum SubmitMode extends java.lang.Enum<SubmitMode>
Enum Constant and Description |
---|
CACHE
User has not decided anything until now.
|
DO_NOT_TRACK
User has decided to forbid all further tracking
|
TRACK
User will be tracked (Using current PrivacySettings)
|
Modifier and Type | Method and Description |
---|---|
static SubmitMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubmitMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubmitMode DO_NOT_TRACK
public static final SubmitMode CACHE
public static final SubmitMode TRACK
public static SubmitMode[] values()
for (SubmitMode c : SubmitMode.values()) System.out.println(c);
public static SubmitMode 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