public static enum Job.Status extends Enum<Job.Status>
| Enum Constant and Description |
|---|
CANCELED |
DELETED |
DISPATCHING |
FAILED |
FINISHED |
INSTANTIATED |
PAUSED |
QUEUED |
RESTART |
RUNNING |
WAITING |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isActive()
Check if the job is still active, e.g.
|
boolean |
isTerminated()
Return if the job is terminated.
|
static Job.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Job.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Job.Status QUEUED
public static final Job.Status PAUSED
public static final Job.Status RUNNING
public static final Job.Status FINISHED
public static final Job.Status FAILED
public static final Job.Status DELETED
public static final Job.Status INSTANTIATED
public static final Job.Status DISPATCHING
public static final Job.Status RESTART
public static final Job.Status CANCELED
public static final Job.Status WAITING
public static Job.Status[] values()
for (Job.Status c : Job.Status.values()) System.out.println(c);
public static Job.Status valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isTerminated()
public boolean isActive()
isTerminated().Copyright © 2009–2020 Opencast Project. All rights reserved.