public static enum ClearSiteDataHeaderWriter.Directive extends java.lang.Enum<ClearSiteDataHeaderWriter.Directive>
Represents the directive values expected by the ClearSiteDataHeaderWriter
Enum Constant and Description |
---|
ALL |
CACHE |
COOKIES |
EXECUTION_CONTEXTS |
STORAGE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHeaderValue() |
static ClearSiteDataHeaderWriter.Directive |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClearSiteDataHeaderWriter.Directive[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClearSiteDataHeaderWriter.Directive CACHE
public static final ClearSiteDataHeaderWriter.Directive COOKIES
public static final ClearSiteDataHeaderWriter.Directive STORAGE
public static final ClearSiteDataHeaderWriter.Directive EXECUTION_CONTEXTS
public static final ClearSiteDataHeaderWriter.Directive ALL
public static ClearSiteDataHeaderWriter.Directive[] values()
for (ClearSiteDataHeaderWriter.Directive c : ClearSiteDataHeaderWriter.Directive.values()) System.out.println(c);
public static ClearSiteDataHeaderWriter.Directive 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 java.lang.String getHeaderValue()