public static enum SearchQuery.Scope extends Enum<SearchQuery.Scope>
Enum Constant and Description |
---|
BODY
Only message body content
|
FULL
Full message content including headers
|
Modifier and Type | Method and Description |
---|---|
static SearchQuery.Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchQuery.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchQuery.Scope BODY
public static final SearchQuery.Scope FULL
public static SearchQuery.Scope[] values()
for (SearchQuery.Scope c : SearchQuery.Scope.values()) System.out.println(c);
public static SearchQuery.Scope 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.