public static enum Startable.Status extends Enum<Startable.Status>
Startable
instance.Enum Constant and Description |
---|
FAILED |
IDLE |
KILLED |
RESTARTING |
RUNNING |
STARTING |
STOPPING |
Modifier and Type | Method and Description |
---|---|
static Startable.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Startable.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Startable.Status IDLE
public static final Startable.Status STARTING
public static final Startable.Status RUNNING
public static final Startable.Status RESTARTING
public static final Startable.Status KILLED
public static final Startable.Status FAILED
public static final Startable.Status STOPPING
public static Startable.Status[] values()
for (Startable.Status c : Startable.Status.values()) System.out.println(c);
public static Startable.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 © 2019 Jong Soft. All rights reserved.