public static enum ConsentContext.Consent extends Enum<ConsentContext.Consent>
| Enum Constant and Description |
|---|
DENIED
User denied the release of information.
|
INAPPLICABLE
Indicates that it was not possible to determine the user's consent for the given request.
|
OBTAINED
Consent engine prompted the user for consent and the user gave it.
|
PRIOR
User gave direction in the past that the release of information, in this case, was acceptable.
|
UNSPECIFIED
Indicates that no claim is made about the user's consent to the release of information.
|
| Modifier and Type | Method and Description |
|---|---|
static ConsentContext.Consent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsentContext.Consent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsentContext.Consent UNSPECIFIED
public static final ConsentContext.Consent INAPPLICABLE
public static final ConsentContext.Consent OBTAINED
public static final ConsentContext.Consent PRIOR
public static final ConsentContext.Consent DENIED
public static ConsentContext.Consent[] values()
for (ConsentContext.Consent c : ConsentContext.Consent.values()) System.out.println(c);
public static ConsentContext.Consent 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 © 1999–2014. All rights reserved.