public enum BatchStatus extends Enum<BatchStatus>
Enum Constant and Description |
---|
ABANDONED |
COMPLETED |
FAILED |
STARTED |
STARTING |
STOPPED |
STOPPING |
Modifier and Type | Method and Description |
---|---|
static BatchStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BatchStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BatchStatus STARTING
public static final BatchStatus STARTED
public static final BatchStatus STOPPING
public static final BatchStatus STOPPED
public static final BatchStatus FAILED
public static final BatchStatus COMPLETED
public static final BatchStatus ABANDONED
public static BatchStatus[] values()
for (BatchStatus c : BatchStatus.values()) System.out.println(c);
public static BatchStatus 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 nullCopyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.