public enum CDPConsentStatus extends Enum<CDPConsentStatus>
Modifier and Type | Method and Description |
---|---|
static CDPConsentStatus |
from(ConsentStatus status) |
static CDPConsentStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CDPConsentStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CDPConsentStatus GRANTED
public static final CDPConsentStatus DENIED
public static final CDPConsentStatus REVOKED
public static CDPConsentStatus[] values()
for (CDPConsentStatus c : CDPConsentStatus.values()) System.out.println(c);
public static CDPConsentStatus 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 nullpublic static CDPConsentStatus from(ConsentStatus status)
Copyright © 2014–2023 Apache Software Foundation. All rights reserved.