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 FormConstructor 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, toString
public QueuedJobCount(int value)
QueuedJobCount
object.value
- the number of queued jobsIllegalArgumentException
- if value < 0public boolean equals(Object obj)
equals
in class IntegerSyntax
obj
- the object to testtrue
if both objects are equal,
false
otherwise.Object.hashCode()
public Class<? extends Attribute> getCategory()
getCategory
in interface Attribute
QueuedJobCount
itself.