public enum LaunchState extends Enum<LaunchState>
Enum Constant and Description |
---|
cancelled
The task has been cancelled.
|
complete
The task completed execution.
|
error
A system error occurred trying to determine launch status.
|
failed
The task failed to launch.
|
launching
The task launch has been requested, but it is not yet known to be in a running state.
|
running
The task has been successfully launched, but has not yet completed.
|
unknown
The task is not known to the system.
|
Modifier and Type | Method and Description |
---|---|
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 launching
public static final LaunchState running
public static final LaunchState cancelled
public static final LaunchState complete
public static final LaunchState failed
public static final LaunchState error
public static final LaunchState unknown
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 nullCopyright © 2018 Pivotal Software, Inc.. All rights reserved.