public enum ConsentType extends Enum<ConsentType>
| Enum Constant and Description |
|---|
DEFAULT_CONSENT |
MINIMAL_CONSENT |
NO_CONSENT |
| Modifier and Type | Method and Description |
|---|---|
static ConsentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsentType DEFAULT_CONSENT
public static final ConsentType MINIMAL_CONSENT
public static final ConsentType NO_CONSENT
public static ConsentType[] values()
for (ConsentType c : ConsentType.values()) System.out.println(c);
public static ConsentType 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 nullCopyright © 2012–2021 Pivotal Software, Inc.. All rights reserved.