public enum AcknowledgmentAction extends Enum<AcknowledgmentAction>
Enum Constant and Description |
---|
ACK
The action of acknowledging a message.
|
NACK
The action of rejecting a message.
|
NONE
The acknowledgment action is going to be skipped.
|
Modifier and Type | Method and Description |
---|---|
static AcknowledgmentAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AcknowledgmentAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AcknowledgmentAction ACK
public static final AcknowledgmentAction NACK
public static final AcknowledgmentAction NONE
public static AcknowledgmentAction[] values()
for (AcknowledgmentAction c : AcknowledgmentAction.values()) System.out.println(c);
public static AcknowledgmentAction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null