public static enum PrintJobStatus.Status extends java.lang.Enum<PrintJobStatus.Status>
| Enum Constant and Description |
|---|
CANCELING
The job is still running, but needs to be cancelled.
|
CANCELLED
The job was cancelled.
|
ERROR
There was an error executing the job.
|
FINISHED
The job has finished processing.
|
RUNNING
The job is currently being processed.
|
WAITING
The job hasn't yet started processing.
|
| Modifier and Type | Method and Description |
|---|---|
static PrintJobStatus.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrintJobStatus.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrintJobStatus.Status WAITING
public static final PrintJobStatus.Status RUNNING
public static final PrintJobStatus.Status CANCELING
public static final PrintJobStatus.Status FINISHED
public static final PrintJobStatus.Status CANCELLED
public static final PrintJobStatus.Status ERROR
public static PrintJobStatus.Status[] values()
for (PrintJobStatus.Status c : PrintJobStatus.Status.values()) System.out.println(c);
public static PrintJobStatus.Status valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null