|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.print.attribute.EnumSyntax
javax.print.attribute.standard.JobState
public class JobState
The 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. |
Methods inherited from class javax.print.attribute.EnumSyntax |
---|
clone, getOffset, getValue, hashCode, readResolve, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final JobState UNKNOWN
public static final JobState PENDING
public static final JobState PENDING_HELD
public static final JobState PROCESSING
public static final JobState PROCESSING_STOPPED
public static final JobState CANCELED
public static final JobState ABORTED
public static final JobState COMPLETED
Constructor Detail |
---|
protected JobState(int value)
JobState
object.
value
- the enum value.Method Detail |
---|
public Class<? extends Attribute> getCategory()
getCategory
in interface Attribute
JobState
itself.public final String getName()
getName
in interface Attribute
protected String[] getStringTable()
getStringTable
in class EnumSyntax
protected EnumSyntax[] getEnumValueTable()
getEnumValueTable
in class EnumSyntax
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |