public enum JobState extends java.lang.Enum<JobState>
JobInProgress
Enum Constant and Description |
---|
Aborted
Auftrag wurde abgebrochen.
|
Failed
Auftrag wurde wegen eines Fehlers beendet.
|
Finished
Auftrag ist fertiggestellt.
|
FinishedAndSaved
Auftrag ist fertiggestellt und ein Protokoll wurde gelesen gespeichert (nur bei Protokoll-Erstellen-Aufträgen).
|
FinishedAndUnread
Auftrag ist fertiggestellt und ein Protokoll wurde ungelesen gespeichert (nur bei Protokoll-Erstellen-Aufträgen)
Dieser Status erlaubt clientseitig einfach festzustellen, wenn ein neues Protokoll fertiggestellt wurde, dass dann über
PuaClient.getUnreadProtocol(long) abgerufen werden kann. |
InProgress
Auftrag ist in Bearbeitung.
|
InQueue
Auftrag ist in Warteschlange.
|
Modifier and Type | Method and Description |
---|---|
static JobState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JobState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobState InQueue
public static final JobState InProgress
public static final JobState Finished
public static final JobState FinishedAndSaved
PuaClient.getSavedProtocol(long)
abgerufen werden kann.public static final JobState FinishedAndUnread
PuaClient.getUnreadProtocol(long)
abgerufen werden kann.public static final JobState Aborted
public static final JobState Failed
public static JobState[] values()
for (JobState c : JobState.values()) System.out.println(c);
public static JobState 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