public enum TokenScope extends Enum<TokenScope>
| Enum Constant and Description |
|---|
SUB_TENANT |
TENANT |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static TokenScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenScope TENANT
public static final TokenScope SUB_TENANT
public static TokenScope[] values()
for (TokenScope c : TokenScope.values()) System.out.println(c);
public static TokenScope 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()