Package io.piano.analytics
Enum PianoAnalytics.PrivacyVisitorMode
- java.lang.Object
-
- java.lang.Enum<PianoAnalytics.PrivacyVisitorMode>
-
- io.piano.analytics.PianoAnalytics.PrivacyVisitorMode
-
- All Implemented Interfaces:
Serializable,Comparable<PianoAnalytics.PrivacyVisitorMode>
- Enclosing class:
- PianoAnalytics
public static enum PianoAnalytics.PrivacyVisitorMode extends Enum<PianoAnalytics.PrivacyVisitorMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLCUSTOMEXEMPTNO_CONSENTNO_STORAGEOPTINOPTOUT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PianoAnalytics.PrivacyVisitorModefromString(String s)StringstringValue()static PianoAnalytics.PrivacyVisitorModevalueOf(String name)Returns the enum constant of this type with the specified name.static PianoAnalytics.PrivacyVisitorMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPTIN
public static final PianoAnalytics.PrivacyVisitorMode OPTIN
-
OPTOUT
public static final PianoAnalytics.PrivacyVisitorMode OPTOUT
-
EXEMPT
public static final PianoAnalytics.PrivacyVisitorMode EXEMPT
-
NO_CONSENT
public static final PianoAnalytics.PrivacyVisitorMode NO_CONSENT
-
NO_STORAGE
public static final PianoAnalytics.PrivacyVisitorMode NO_STORAGE
-
CUSTOM
public static final PianoAnalytics.PrivacyVisitorMode CUSTOM
-
ALL
public static final PianoAnalytics.PrivacyVisitorMode ALL
-
-
Method Detail
-
values
public static PianoAnalytics.PrivacyVisitorMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PianoAnalytics.PrivacyVisitorMode c : PianoAnalytics.PrivacyVisitorMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PianoAnalytics.PrivacyVisitorMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromString
public static PianoAnalytics.PrivacyVisitorMode fromString(String s)
-
stringValue
public String stringValue()
-
-