public enum GrantTypeBO extends Enum<GrantTypeBO>
| Enum Constant and Description |
|---|
AUTHORISATION_CODE |
REFRESH_TOKEN |
| Modifier and Type | Method and Description |
|---|---|
static Optional<GrantTypeBO> |
getByValue(String value) |
String |
getValue() |
static GrantTypeBO |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrantTypeBO[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrantTypeBO AUTHORISATION_CODE
public static final GrantTypeBO REFRESH_TOKEN
public static GrantTypeBO[] values()
for (GrantTypeBO c : GrantTypeBO.values()) System.out.println(c);
public static GrantTypeBO 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 getValue()
public static Optional<GrantTypeBO> getByValue(String value)
Copyright © 2020. All rights reserved.