public enum ServerStatus extends Enum<ServerStatus>
Enum Constant and Description |
---|
DISABLED
The server is disabled; i.e.
|
DOES_NOT_EXIST
Status indicating the host controller does not recognize the server name
|
FAILED
The server failed to start
|
STARTED
The server is started
|
STARTING
The server is starting
|
STOPPED
The server is stopped
|
STOPPING
The server is stopping
|
UNKNOWN
The status of the server is currently unknown.
|
Modifier and Type | Method and Description |
---|---|
static ServerStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerStatus DISABLED
public static final ServerStatus STARTING
public static final ServerStatus STARTED
public static final ServerStatus STOPPING
public static final ServerStatus STOPPED
public static final ServerStatus FAILED
public static final ServerStatus UNKNOWN
public static final ServerStatus DOES_NOT_EXIST
public static ServerStatus[] values()
for (ServerStatus c : ServerStatus.values()) System.out.println(c);
public static ServerStatus 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 © 2021 JBoss by Red Hat. All rights reserved.