public enum ServerState extends Enum<ServerState>
| Enum Constant and Description |
|---|
FINISHING
Server is finishing in-flight requests.
|
STARTED
Server has started, all features and components created.
|
STARTING
Server is starting, features and components are being created
|
STOPPED
Server is stopped
|
STOPPING
Server is stopping, resources are being freed.
|
| Modifier and Type | Method and Description |
|---|---|
static ServerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerState STOPPED
public static final ServerState STARTING
public static final ServerState STARTED
public static final ServerState FINISHING
public static final ServerState STOPPING
public static ServerState[] values()
for (ServerState c : ServerState.values()) System.out.println(c);
public static ServerState 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 © 2016. All rights reserved.