Enum Class DbOperation.State
java.lang.Object
java.lang.Enum<DbOperation.State>
org.camunda.bpm.engine.impl.db.entitymanager.operation.DbOperation.State
- All Implemented Interfaces:
Serializable
,Comparable<DbOperation.State>
,Constable
- Enclosing class:
- DbOperation
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates that the operation was not performed and that the reason was a concurrent modification to the data to be updated.Indicates that the operation was not performed and was a concurrency conflict.Indicates that the operation was not performed and was a concurrency conflict with a SQL exception.Indicates that the operation was not performed for any reason except concurrent modifications. -
Method Summary
Modifier and TypeMethodDescriptionstatic DbOperation.State
Returns the enum constant of this class with the specified name.static DbOperation.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_APPLIED
-
APPLIED
-
FAILED_ERROR
Indicates that the operation was not performed for any reason except concurrent modifications. -
FAILED_CONCURRENT_MODIFICATION
Indicates that the operation was not performed and that the reason was a concurrent modification to the data to be updated. Applies to databases with isolation level READ_COMMITTED. -
FAILED_CONCURRENT_MODIFICATION_CRDB
Indicates that the operation was not performed and was a concurrency conflict. Applies to CockroachDB (with isolation level SERIALIZABLE). -
FAILED_CONCURRENT_MODIFICATION_EXCEPTION
Indicates that the operation was not performed and was a concurrency conflict with a SQL exception. Applies to PostgreSQL.
-
-
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
-