Enum Class TransactionValidationMode
java.lang.Object
java.lang.Enum<TransactionValidationMode>
fr.gouv.vitam.collect.common.enums.TransactionValidationMode
- All Implemented Interfaces:
Serializable,Comparable<TransactionValidationMode>,Constable
Validation modes used when closing a transaction.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionStandard validation mode.Forced validation mode (not yet implemented).Validation mode that ignores failed batches. -
Method Summary
Modifier and TypeMethodDescriptionstatic TransactionValidationModeReturns the enum constant of this class with the specified name.static TransactionValidationMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VALIDATE
Standard validation mode.The transaction is validated and closed following the normal validation rules.
-
VALIDATE_IGNORE
Validation mode that ignores failed batches.The transaction is validated and closed even if some batches are in KO status.
-
VALIDATE_FORCE
Forced validation mode (not yet implemented).Forces the transaction to close under specific conditions.
-
-
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
-