public static enum Server.Status extends Enum<Server.Status>
Enum Constant and Description |
---|
DOWN |
MIGRATION_RUNNING |
SETUP |
UP |
Modifier and Type | Method and Description |
---|---|
static Server.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Server.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Server.Status SETUP
public static final Server.Status UP
public static final Server.Status DOWN
public static final Server.Status MIGRATION_RUNNING
public static Server.Status[] values()
for (Server.Status c : Server.Status.values()) System.out.println(c);
public static Server.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 © 2009-2013 SonarSource. All Rights Reserved.