public static enum ProcessLauncher.State extends Enum<ProcessLauncher.State>
Enum Constant and Description |
---|
COMPLETED |
LAUNCHED |
NEW |
RUNNING |
TERMINATED |
Modifier and Type | Method and Description |
---|---|
static ProcessLauncher.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcessLauncher.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessLauncher.State NEW
public static final ProcessLauncher.State LAUNCHED
public static final ProcessLauncher.State RUNNING
public static final ProcessLauncher.State TERMINATED
public static final ProcessLauncher.State COMPLETED
public static ProcessLauncher.State[] values()
for (ProcessLauncher.State c : ProcessLauncher.State.values()) System.out.println(c);
public static ProcessLauncher.State 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 © 2016–2020. All rights reserved.