net.customware.gwt.dispatch.shared
Enum BatchAction.OnException
java.lang.Object
java.lang.Enum<BatchAction.OnException>
net.customware.gwt.dispatch.shared.BatchAction.OnException
- All Implemented Interfaces:
- Serializable, Comparable<BatchAction.OnException>
- Enclosing class:
- BatchAction
public static enum BatchAction.OnException
- extends Enum<BatchAction.OnException>
|
Enum Constant Summary |
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. |
CONTINUE
public static final BatchAction.OnException CONTINUE
- If specified, the batch will continue if an action fails. The
matching
Result in the BatchResult.getResults() will
be null.
ROLLBACK
public static final BatchAction.OnException ROLLBACK
- If specified, the batch will stop processing and roll back any
executed actions from the batch, and throw the exception.
values
public static BatchAction.OnException[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (BatchAction.OnException c : BatchAction.OnException.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static BatchAction.OnException valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2011 customware.net. All Rights Reserved.