public enum JOB_STATUS extends Enum<JOB_STATUS>
NOT_STARTED, if the job was not started#IN_PROGRESS, if the job is runningENDED, if the job ended successfulENDED_WITH_ERRORS, if the job ended with errors| Enum Constant and Description |
|---|
ENDED |
ENDED_WITH_ERRORS |
IMPORTING_CORPUS_STRUCTURE |
IMPORTING_DOCUMENT_STRUCTURE |
INITIALIZING |
NOT_STARTED |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isInProgress()
Returns whether the status determines, that the Pepper job is still in
progress.
|
String |
toString() |
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 NOT_STARTED
public static final JOB_STATUS INITIALIZING
public static final JOB_STATUS IMPORTING_CORPUS_STRUCTURE
public static final JOB_STATUS IMPORTING_DOCUMENT_STRUCTURE
public static final JOB_STATUS ENDED
public static final JOB_STATUS ENDED_WITH_ERRORS
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 String toString()
toString in class Enum<JOB_STATUS>public boolean isInProgress()
INITIALIZE,
IMPORTING_CORPUS_STRUCTURE or
IMPORTING_DOCUMENT_STRUCTURECopyright © 2009–2019 Humboldt-Universität zu Berlin, INRIA. All rights reserved.