org.archive.hcc.client
Enum JobStatus
java.lang.Object
java.lang.Enum<JobStatus>
org.archive.hcc.client.JobStatus
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<JobStatus>
public enum JobStatus
- extends java.lang.Enum<JobStatus>
Method Summary |
boolean |
isEndState()
|
java.lang.String |
toString()
|
static JobStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static JobStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
RUNNING
public static final JobStatus RUNNING
PAUSED
public static final JobStatus PAUSED
COMPLETED_NORMAL
public static final JobStatus COMPLETED_NORMAL
USER_TERMINATED
public static final JobStatus USER_TERMINATED
SYSTEM_TIME_LIMIT
public static final JobStatus SYSTEM_TIME_LIMIT
SYSTEM_URL_LIMIT
public static final JobStatus SYSTEM_URL_LIMIT
SYSTEM_DATA_LIMIT
public static final JobStatus SYSTEM_DATA_LIMIT
FAILED
public static final JobStatus FAILED
values
public static final JobStatus[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(JobStatus c : JobStatus.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static JobStatus valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<JobStatus>
isEndState
public boolean isEndState()
Copyright © 2005-2008 The Internet Archive. All Rights Reserved.