public static enum AbstractLauncher.Status extends Enum<AbstractLauncher.Status>
Enum Constant and Description |
---|
NOT_RESPONDING |
ONLINE |
STARTING |
STOPPED |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Gets the description of the Status enum type.
|
String |
toString()
Gets a String representation of the Status enum type.
|
static AbstractLauncher.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractLauncher.Status |
valueOfDescription(String description)
Looks up the Status enum type by description.
|
static AbstractLauncher.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractLauncher.Status NOT_RESPONDING
public static final AbstractLauncher.Status ONLINE
public static final AbstractLauncher.Status STARTING
public static final AbstractLauncher.Status STOPPED
public static AbstractLauncher.Status[] values()
for (AbstractLauncher.Status c : AbstractLauncher.Status.values()) System.out.println(c);
public static AbstractLauncher.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 nullpublic static AbstractLauncher.Status valueOfDescription(String description)
description
- a String value describing the Locator's status.public String getDescription()
public String toString()
toString
in class Enum<AbstractLauncher.Status>
getDescription()