public enum DancerState extends Enum<DancerState>
| Enum Constant and Description |
|---|
HAS_TOKEN
There is a token present and it is valid to use.
|
NO_TOKEN
The owner has not fetched a token yet, or a previous attempt to fetch it has failed.
|
REFRESHING_TOKEN
There is already a request executing to refresh the token.
|
| Modifier and Type | Method and Description |
|---|---|
static DancerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DancerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DancerState NO_TOKEN
public static final DancerState REFRESHING_TOKEN
public static final DancerState HAS_TOKEN
public static DancerState[] values()
for (DancerState c : DancerState.values()) System.out.println(c);
public static DancerState 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 © 2022. All rights reserved.