net.customware.gwt.dispatch.shared
Enum BatchAction.OnException

java.lang.Object
  extended by java.lang.Enum<BatchAction.OnException>
      extended by net.customware.gwt.dispatch.shared.BatchAction.OnException
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BatchAction.OnException>
Enclosing class:
BatchAction

public static enum BatchAction.OnException
extends java.lang.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.
 
Method Summary
static BatchAction.OnException valueOf(java.lang.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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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.

Method Detail

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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2009 customware.net. All Rights Reserved.