public enum SearchResultOption extends Enum<SearchResultOption>
| Enum Constant and Description |
|---|
ALL
Return all matched message uids formatted as sequence-set
|
COUNT
Return the count of matched messages
|
MAX
Return the maximum uid matched
|
MIN
Return the minimum uid matched
|
SAVE
Save the last ESEARCH returned sequence-set's.
|
| Modifier and Type | Method and Description |
|---|---|
static SearchResultOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchResultOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchResultOption ALL
public static final SearchResultOption MIN
public static final SearchResultOption MAX
public static final SearchResultOption COUNT
public static final SearchResultOption SAVE
public static SearchResultOption[] values()
for (SearchResultOption c : SearchResultOption.values()) System.out.println(c);
public static SearchResultOption 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 nullCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.