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.
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier | Constructor and Description |
---|---|
protected |
JobState(int value)
Constructs a
JobState object. |
Modifier and Type | Method and Description |
---|---|
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.
|
clone, getOffset, getValue, hashCode, readResolve, toString
public static final JobState PENDING_HELD
public static final JobState PROCESSING
public static final JobState PROCESSING_STOPPED
protected JobState(int value)
JobState
object.value
- the enum value.public Class<? extends Attribute> getCategory()
getCategory
in interface Attribute
JobState
itself.protected String[] getStringTable()
getStringTable
in class EnumSyntax
protected EnumSyntax[] getEnumValueTable()
getEnumValueTable
in class EnumSyntax