Package org.bedework.calsvc
Enum Class MesssageHandler.ProcessMessageResult
java.lang.Object
java.lang.Enum<MesssageHandler.ProcessMessageResult>
org.bedework.calsvc.MesssageHandler.ProcessMessageResult
- All Implemented Interfaces:
Serializable,Comparable<MesssageHandler.ProcessMessageResult>,Constable
- Enclosing interface:
- MesssageHandler
public static enum MesssageHandler.ProcessMessageResult
extends Enum<MesssageHandler.ProcessMessageResult>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUnable to process the message after retriesUnable to process the message after a failure indicating retry would not worke.g.e.g.Message successfully processedSomething changed and caused a stale state exception. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static MesssageHandler.ProcessMessageResult[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FAILED_NORETRIES
Unable to process the message after a failure indicating retry would not work -
FAILED
Unable to process the message after retries -
IGNORED
e.g. not for this consumer -
NO_ACTION
e.g. inbox message already deleted -
PROCESSED
Message successfully processed -
STALE_STATE
Something changed and caused a stale state exception. Should retry
-
-
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
-