public static enum BatchAction.OnException extends Enum<BatchAction.OnException>
BatchAction
's enumeration of possible outcomes when there is an exception.Enum Constant and Description |
---|
CONTINUE
If specified, the batch will continue if an action fails.
|
ROLLBACK
If specified, the batch will stop processing and roll back any executed actions from the batch, and throw the
exception.
|
Modifier and Type | Method and Description |
---|---|
static BatchAction.OnException |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BatchAction.OnException[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BatchAction.OnException CONTINUE
Result
in the
BatchResult.getResults()
will be null
.public static final BatchAction.OnException ROLLBACK
public static BatchAction.OnException[] values()
for (BatchAction.OnException c : BatchAction.OnException.values()) System.out.println(c);
public static BatchAction.OnException 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 © 2010-2014 ArcBees. All Rights Reserved.