|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<IJobStatus.Status>
com.norconex.jef.progress.IJobStatus.Status
public static enum IJobStatus.Status
A job execution status.
Enum Constant Summary | |
---|---|
ABORTED
The job was aborted (i.e. |
|
COMPLETED
The job execution has completed successfully. |
|
PREMATURE_TERMINATION
The job stopped running on its own, but has not reached 100% completion. |
|
RUNNING
The job is currently running. |
|
STOPPED
A request to stop job execution has been received and the job are stopped. |
|
STOPPING
A request to stop job execution has been received and the job are currently stopping. |
|
UNKNOWN
Job execution status is unknown. |
Method Summary | |
---|---|
static IJobStatus.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IJobStatus.Status[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IJobStatus.Status ABORTED
public static final IJobStatus.Status COMPLETED
public static final IJobStatus.Status PREMATURE_TERMINATION
public static final IJobStatus.Status RUNNING
public static final IJobStatus.Status UNKNOWN
public static final IJobStatus.Status STOPPING
public static final IJobStatus.Status STOPPED
Method Detail |
---|
public static IJobStatus.Status[] values()
for (IJobStatus.Status c : IJobStatus.Status.values()) System.out.println(c);
public static IJobStatus.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 name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |