public static enum Batch.State extends Enum<Batch.State>
| Enum Constant and Description |
|---|
ACTIVE
The initial state of a batch.
|
CLOSED
The terminal state of a batch.
|
DISCARDED
Indicates that an active batch was discarded, but not yet closed.
|
| Modifier and Type | Method and Description |
|---|---|
static Batch.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Batch.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Batch.State ACTIVE
public static final Batch.State DISCARDED
Batch.discard().public static final Batch.State CLOSED
Batch.close().public static Batch.State[] values()
for (Batch.State c : Batch.State.values()) System.out.println(c);
public static Batch.State 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 © 2022 JBoss by Red Hat. All rights reserved.