public enum BatchJobStatus extends Enum<BatchJobStatus>
Java class for BatchJobStatus.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="BatchJobStatus">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="UNKNOWN"/>
<enumeration value="AWAITING_FILE"/>
<enumeration value="ACTIVE"/>
<enumeration value="CANCELING"/>
<enumeration value="CANCELED"/>
<enumeration value="DONE"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ACTIVE
Indicates that a job has an associated file and is being executed.
|
AWAITING_FILE
Initial state of a BatchJob.
|
CANCELED
Indicates that a job has been canceled.
|
CANCELING
Indicates that a job is being canceled.
|
DONE
Indicates that a job has completed.
|
UNKNOWN
Used for return value only.
|
| Modifier and Type | Method and Description |
|---|---|
static BatchJobStatus |
fromValue(String v) |
String |
value() |
static BatchJobStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BatchJobStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BatchJobStatus UNKNOWN
public static final BatchJobStatus AWAITING_FILE
public static final BatchJobStatus ACTIVE
public static final BatchJobStatus CANCELING
public static final BatchJobStatus CANCELED
public static final BatchJobStatus DONE
public static BatchJobStatus[] values()
for (BatchJobStatus c : BatchJobStatus.values()) System.out.println(c);
public static BatchJobStatus 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 value()
public static BatchJobStatus fromValue(String v)
Copyright © 2023. All rights reserved.