public enum SymbolState extends Enum<SymbolState>
| Enum Constant and Description |
|---|
OFFLINE |
ONLINE
ONLINE, OFFLINE, SUSPEND.
|
SUSPEND |
| Modifier and Type | Method and Description |
|---|---|
static SymbolState |
find(String state) |
String |
getState() |
static SymbolState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SymbolState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SymbolState ONLINE
public static final SymbolState OFFLINE
public static final SymbolState SUSPEND
public static SymbolState[] values()
for (SymbolState c : SymbolState.values()) System.out.println(c);
public static SymbolState 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 getState()
public static SymbolState find(String state)
Copyright © 2021. All rights reserved.