javax.print.attribute.standard
public final class QueuedJobCount extends IntegerSyntax implements PrintServiceAttribute
QueuedJobCount printing attribute reports
the number of jobs currently in the queue. These are jobs
that are in 'pending', 'processing', 'pending-held' or
'processing-stopped' state.
IPP Compatibility: QueuedJobCount is an IPP 1.1 attribute.
| Constructor Summary | |
|---|---|
| QueuedJobCount(int value)
Creates a QueuedJobCount object.
| |
| Method Summary | |
|---|---|
| boolean | equals(Object obj)
Tests if the given object is equal to this object.
|
| Class<? extends Attribute> | getCategory()
Returns category of this class.
|
| String | getName()
Returns the name of this attribute.
|
QueuedJobCount object.
Parameters: value the number of queued jobs
Throws: IllegalArgumentException if value < 0
Parameters: obj the object to test
Returns: true if both objects are equal,
false otherwise.
Returns: The class QueuedJobCount itself.
Returns: The name "queued-job-count".