public static enum Executor.Status extends Enum<Executor.Status>
Enum Constant and Description |
---|
COMPLETED
All jobs finished successfully.
|
NOT_STARTED
The jobs have not yet been started.
|
RUNNING
The jobs are still running.
|
TERMINATED
Some job(s) threw an exception causing the other jobs to be terminated.
|
Modifier and Type | Method and Description |
---|---|
static Executor.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Executor.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Executor.Status NOT_STARTED
public static final Executor.Status RUNNING
public static final Executor.Status COMPLETED
public static final Executor.Status TERMINATED
public static Executor.Status[] values()
for (Executor.Status c : Executor.Status.values()) System.out.println(c);
public static Executor.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 © 2015 University of Glasgow. All rights reserved.