public final class JobPriority extends IntegerSyntax implements PrintJobAttribute, PrintRequestAttribute
JobPriority printing attribute specifies
the priority for scheduling a job on the print service.
A client may specify any value between 1 (lowest priority) and 100 (highest priority). A print service prints jobs with a priority value of n before those with a priority value of n-1.
IPP Compatibility: JobPriority is an IPP 1.1 attribute.
| Constructor and Description |
|---|
JobPriority(int value)
Creates a
JobPriority 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 JobPriority(int value)
JobPriority object.value - the priorityIllegalArgumentException - if value < 1 or value > 100public 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 AttributeJobPriority itself.