Enum Constant and Description |
---|
Cancelled |
Cancelling |
Completed |
Deleted |
Failed |
Paused |
PausedOutOfPrintMaterial |
PausedWithWarning |
Printing |
Ready |
Modifier and Type | Method and Description |
---|---|
boolean |
isPaused() |
boolean |
isPrintActive() |
boolean |
isPrintInProgress() |
static JobStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JobStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobStatus Ready
public static final JobStatus Printing
public static final JobStatus Failed
public static final JobStatus Completed
public static final JobStatus Cancelled
public static final JobStatus Cancelling
public static final JobStatus Deleted
public static final JobStatus Paused
public static final JobStatus PausedOutOfPrintMaterial
public static final JobStatus PausedWithWarning
public static JobStatus[] values()
for (JobStatus c : JobStatus.values()) System.out.println(c);
public static JobStatus 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 nullpublic boolean isPrintInProgress()
public boolean isPrintActive()
public boolean isPaused()