public enum UsageState extends Enum<UsageState>
| Enum Constant and Description |
|---|
EXCEEDED
Enum value Exceeded.
|
NORMAL
Enum value Normal.
|
| Modifier and Type | Method and Description |
|---|---|
static UsageState |
fromString(String value)
Parses a serialized value to a UsageState instance.
|
String |
toString() |
static UsageState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UsageState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UsageState NORMAL
public static final UsageState EXCEEDED
public static UsageState[] values()
for (UsageState c : UsageState.values()) System.out.println(c);
public static UsageState 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 UsageState fromString(String value)
value - the serialized value to parse.public String toString()
toString in class Enum<UsageState>Copyright © 2019. All rights reserved.