public static enum ServerEvent.State extends Enum<ServerEvent.State>
| Enum Constant and Description |
|---|
CONFIGURED |
STARTED |
STOPPED |
| Modifier and Type | Method and Description |
|---|---|
static ServerEvent.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerEvent.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerEvent.State STARTED
public static final ServerEvent.State STOPPED
public static final ServerEvent.State CONFIGURED
public static ServerEvent.State[] values()
for (ServerEvent.State c : ServerEvent.State.values()) System.out.println(c);
public static ServerEvent.State 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 © 2006–2024 OPS4J - Open Participation Software for Java. All rights reserved.