Package org.bonitasoft.engine.work
Enum ExceptionRetryabilityEvaluator.Retryability
- java.lang.Object
-
- java.lang.Enum<ExceptionRetryabilityEvaluator.Retryability>
-
- org.bonitasoft.engine.work.ExceptionRetryabilityEvaluator.Retryability
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ExceptionRetryabilityEvaluator.Retryability>
- Enclosing interface:
- ExceptionRetryabilityEvaluator
public static enum ExceptionRetryabilityEvaluator.Retryability extends java.lang.Enum<ExceptionRetryabilityEvaluator.Retryability>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOT_RETRYABLERETRYABLEUNCERTAIN_COMPLETION_OF_COMMIT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExceptionRetryabilityEvaluator.RetryabilityvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ExceptionRetryabilityEvaluator.Retryability[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_RETRYABLE
public static final ExceptionRetryabilityEvaluator.Retryability NOT_RETRYABLE
-
RETRYABLE
public static final ExceptionRetryabilityEvaluator.Retryability RETRYABLE
-
UNCERTAIN_COMPLETION_OF_COMMIT
public static final ExceptionRetryabilityEvaluator.Retryability UNCERTAIN_COMPLETION_OF_COMMIT
-
-
Method Detail
-
values
public static ExceptionRetryabilityEvaluator.Retryability[] 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 (ExceptionRetryabilityEvaluator.Retryability c : ExceptionRetryabilityEvaluator.Retryability.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExceptionRetryabilityEvaluator.Retryability 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 namejava.lang.NullPointerException- if the argument is null
-
-