public static enum AQDequeueOptions.NavigationOption extends Enum<AQDequeueOptions.NavigationOption>
Enum Constant and Description |
---|
FIRST_MESSAGE
Retrieve the first available message that matches the search criterion.
|
NEXT_MESSAGE
Retrieve the next available message that matches the search criterion.
|
NEXT_TRANSACTION
Skips the remainder of the current transaction group (if any) and retrieves the first message of the next transaction group.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Implementation detail (for internal use only).
|
static AQDequeueOptions.NavigationOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AQDequeueOptions.NavigationOption[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final AQDequeueOptions.NavigationOption FIRST_MESSAGE
public static final AQDequeueOptions.NavigationOption NEXT_MESSAGE
public static final AQDequeueOptions.NavigationOption NEXT_TRANSACTION
public static AQDequeueOptions.NavigationOption[] values()
for (AQDequeueOptions.NavigationOption c : AQDequeueOptions.NavigationOption.values()) System.out.println(c);
public static AQDequeueOptions.NavigationOption 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 nullpublic final int getCode()