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.
JobState,
Serialized Form| Constructor and Description |
|---|
QueuedJobCount(int value)
Creates a
QueuedJobCount object. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getValue, hashCode, toStringpublic QueuedJobCount(int value)
QueuedJobCount object.value - the number of queued jobsIllegalArgumentException - if value < 0public boolean equals(Object obj)
equals in class IntegerSyntaxobj - the object to testtrue if both objects are equal,
false otherwise.Object.hashCode()public Class<? extends Attribute> getCategory()
getCategory in interface AttributeQueuedJobCount itself.