javax.print.attribute.standard
public class JobState extends EnumSyntax implements PrintJobAttribute
JobState
printing attribute reports
the current state of a job.
The JobStateReasons attribute provides further detailed information about the given job state. Detailed information about the job state and job state reasons can be found in the RFC 2911.
IPP Compatibility: JobState is an IPP 1.1 attribute.
Field Summary | |
---|---|
static JobState | ABORTED
The job has been aborted by the system. |
static JobState | CANCELED
The job has been canceled by the client. |
static JobState | COMPLETED
The job has completed successfully. |
static JobState | PENDING
The job is pending processing. |
static JobState | PENDING_HELD
The job is currently not a candidate for printing because
of reasons reported by the job-state-reasons attribute. |
static JobState | PROCESSING
The job is currently processed. |
static JobState | PROCESSING_STOPPED
The job's processing has stopped. |
static JobState | UNKNOWN
The job state is currently unknown. |
Constructor Summary | |
---|---|
protected | JobState(int value)
Constructs a JobState object.
|
Method Summary | |
---|---|
Class<? extends Attribute> | getCategory()
Returns category of this class.
|
protected EnumSyntax[] | getEnumValueTable()
Returns a table with the enumeration values for this object.
|
String | getName()
Returns the name of this attribute.
|
protected String[] | getStringTable()
Returns a table with the enumeration values represented as strings
for this object.
|
JobState
object.
Parameters: value the enum value.
Returns: The class JobState
itself.
Returns: The enumeration values.
Returns: The name "job-state".
Returns: The enumeration values as strings.