public static enum AbstractLauncher.Status extends java.lang.Enum<AbstractLauncher.Status>
Enum Constant and Description |
---|
NOT_RESPONDING |
ONLINE |
STARTING |
STOPPED |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Gets the description of the Status enum type.
|
java.lang.String |
toString()
Gets a String representation of the Status enum type.
|
static AbstractLauncher.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbstractLauncher.Status |
valueOfDescription(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static AbstractLauncher.Status valueOfDescription(java.lang.String description)
description
- a String value describing the Locator's status.public java.lang.String getDescription()
public java.lang.String toString()
toString
in class java.lang.Enum<AbstractLauncher.Status>
getDescription()