public static enum BackgroundJobInfo.State extends Enum<BackgroundJobInfo.State>
| Enum Constant and Description |
|---|
ABORTED
The job was aborted before it could complete its work.
|
ABORTING
The cancellation of the job has been requested, but the
implementation has not yet acted upon this request.
|
ABORTING_STARTING
The job enteres this stage when it is aborted during STARTING.
|
FAILED
The execution of the job raised an uncaught exception.
|
RUNNING
The job is currently executing.
|
SCHEDULED
The job is scheduled but has not started yet.
|
STARTING
The job is about to enter RUNNING.
|
SUCCEEDED
The work is complete.
|
| Modifier and Type | Method and Description |
|---|---|
static BackgroundJobInfo.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackgroundJobInfo.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackgroundJobInfo.State SCHEDULED
public static final BackgroundJobInfo.State STARTING
public static final BackgroundJobInfo.State RUNNING
public static final BackgroundJobInfo.State ABORTING_STARTING
public static final BackgroundJobInfo.State ABORTING
public static final BackgroundJobInfo.State ABORTED
public static final BackgroundJobInfo.State SUCCEEDED
public static final BackgroundJobInfo.State FAILED
public static BackgroundJobInfo.State[] values()
for (BackgroundJobInfo.State c : BackgroundJobInfo.State.values()) System.out.println(c);
public static BackgroundJobInfo.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 © 2018. All Rights Reserved.