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