public static enum ServerEnvironment.Status extends Enum<ServerEnvironment.Status>
| Enum Constant and Description |
|---|
started |
starting |
stopped |
stopping |
| Modifier and Type | Method and Description |
|---|---|
static ServerEnvironment.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerEnvironment.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerEnvironment.Status starting
public static final ServerEnvironment.Status started
public static final ServerEnvironment.Status stopping
public static final ServerEnvironment.Status stopped
public static ServerEnvironment.Status[] values()
for (ServerEnvironment.Status c : ServerEnvironment.Status.values()) System.out.println(c);
public static ServerEnvironment.Status 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 © 2017–2020 Eclipse Foundation. All rights reserved.