public enum EJobState extends java.lang.Enum<EJobState>
Copyright (C) Micro Focus 2014. All rights reserved.| Enum Constant and Description |
|---|
ERROR
Job has finished with an error (or was never executed due to a JCL error).
|
FINISHED
Job has finished execution.
|
RUNNING
Job is actively executing.
|
UNKNOWN
Unknown job state.
|
WAITING
Job is waiting for execution.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLiteral()
Returns a user readable, formatted String representation of the job state
(e.g.
|
boolean |
isFinishedState()
|
static EJobState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EJobState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EJobState UNKNOWN
public static final EJobState WAITING
public static final EJobState RUNNING
public static final EJobState FINISHED
public static final EJobState ERROR
public static EJobState[] values()
for (EJobState c : EJobState.values()) System.out.println(c);
public static EJobState 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 java.lang.String getLiteral()
public boolean isFinishedState()
true if the state is FINISHED or ERROR. Otherwise false.Copyright © 2015 Micro Focus GmbH. All rights reserved.