public enum BouncerAuthorizationStatus extends Enum<BouncerAuthorizationStatus>
Enum Constant and Description |
---|
ACCESS_ALLOWED |
ACCESS_DENIED |
GENERIC_ERROR |
YBC_MISSING |
Modifier and Type | Method and Description |
---|---|
static BouncerAuthorizationStatus |
forBouncerValue(int bouncerValue)
Get the value for the given bouncer value.
|
int |
getBouncerValue() |
String |
getDescription() |
String |
getName() |
static BouncerAuthorizationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BouncerAuthorizationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BouncerAuthorizationStatus YBC_MISSING
public static final BouncerAuthorizationStatus ACCESS_DENIED
public static final BouncerAuthorizationStatus GENERIC_ERROR
public static final BouncerAuthorizationStatus ACCESS_ALLOWED
public static BouncerAuthorizationStatus[] values()
for (BouncerAuthorizationStatus c : BouncerAuthorizationStatus.values()) System.out.println(c);
public static BouncerAuthorizationStatus 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 String getName()
public String getDescription()
public int getBouncerValue()
public static BouncerAuthorizationStatus forBouncerValue(int bouncerValue)
bouncerValue
- Bouncer pass-through value to get the BouncerAuthorizationStatus forIllegalArgumentException
- if this enum type has no constant with the specified bouncer valueCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.