Package net.solarnetwork.dao
Enum Class BatchableDao.BatchCallbackResult
java.lang.Object
java.lang.Enum<BatchableDao.BatchCallbackResult>
net.solarnetwork.dao.BatchableDao.BatchCallbackResult
- All Implemented Interfaces:
Serializable,Comparable<BatchableDao.BatchCallbackResult>,Constable
- Enclosing interface:
- BatchableDao<T>
The result for a single batch operation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionContinue processing.The domain object should be deleted.We should stop processing immediately.The domain object was updated.Stop after updating the domain object. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static BatchableDao.BatchCallbackResult[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONTINUE
Continue processing. -
UPDATE
The domain object was updated. -
DELETE
The domain object should be deleted. -
STOP
We should stop processing immediately. -
UPDATE_STOP
Stop after updating the domain object.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-