public enum LaunchState extends Enum<LaunchState>
Launch.getState()
Enum Constant and Description |
---|
CANCELED
The launch execution has been cancelled.
|
COMPLETED
The launch is successfully completed.
|
FAILED
Errors prevented the launch to complete.
|
RUNNING
The launch is currently being executed.
|
WAITING
The launch is waiting for another launch completion so it can starts to execute.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the state.
|
String |
toString() |
static LaunchState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LaunchState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LaunchState WAITING
public static final LaunchState CANCELED
public static final LaunchState RUNNING
public static final LaunchState COMPLETED
public static final LaunchState FAILED
public static LaunchState[] values()
for (LaunchState c : LaunchState.values()) System.out.println(c);
public static LaunchState 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 String getName()
public String toString()
toString
in class Enum<LaunchState>