public final class QueuedJobCount extends javax.print.attribute.IntegerSyntax implements javax.print.attribute.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(java.lang.Object obj)
Tests if the given object is equal to this object.
|
java.lang.Class<? extends javax.print.attribute.Attribute> |
getCategory()
Returns category of this class.
|
java.lang.String |
getName()
Returns the name of this attribute.
|
public QueuedJobCount(int value)
QueuedJobCount object.value - the number of queued jobsjava.lang.IllegalArgumentException - if value < 0public boolean equals(java.lang.Object obj)
equals in class javax.print.attribute.IntegerSyntaxobj - the object to testtrue if both objects are equal,
false otherwise.Object.hashCode()public java.lang.Class<? extends javax.print.attribute.Attribute> getCategory()
getCategory in interface javax.print.attribute.AttributeQueuedJobCount itself.public java.lang.String getName()
getName in interface javax.print.attribute.Attribute