public static enum AcknowledgeMode.Mode extends java.lang.Enum<AcknowledgeMode.Mode>
Enum Constant and Description |
---|
AUTO_ACKNOWLEDGE
Maps to
Session.AUTO_ACKNOWLEDGE |
CLIENT_ACKNOWLEDGE
Maps to
Session.CLIENT_ACKNOWLEDGE |
DUPS_OK_ACKNOWLEDGE
Maps to
Session.DUPS_OK_ACKNOWLEDGE |
Modifier and Type | Method and Description |
---|---|
static AcknowledgeMode.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AcknowledgeMode.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AcknowledgeMode.Mode AUTO_ACKNOWLEDGE
Session.AUTO_ACKNOWLEDGE
public static final AcknowledgeMode.Mode CLIENT_ACKNOWLEDGE
Session.CLIENT_ACKNOWLEDGE
public static final AcknowledgeMode.Mode DUPS_OK_ACKNOWLEDGE
Session.DUPS_OK_ACKNOWLEDGE
public static AcknowledgeMode.Mode[] values()
for (AcknowledgeMode.Mode c : AcknowledgeMode.Mode.values()) System.out.println(c);
public static AcknowledgeMode.Mode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null