public enum ExecStatus extends Enum<ExecStatus>
Enum Constant and Description |
---|
READY
The job is ready, it can be running or terminated.
|
RUNNING
The job is running, it can be stopped or terminated.
|
STOPPED
The job is stopped, it can be running or terminated.
|
TERMINATED
The job is terminated.
|
Modifier and Type | Method and Description |
---|---|
static ExecStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecStatus READY
public static final ExecStatus RUNNING
public static final ExecStatus STOPPED
public static final ExecStatus TERMINATED
public static ExecStatus[] values()
for (ExecStatus c : ExecStatus.values()) System.out.println(c);
public static ExecStatus 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 © 2024 Eclipse. All rights reserved.