public enum SearchContext extends Enum<SearchContext>
Enum Constant and Description |
---|
FOLDER |
GLOBAL |
INBOX |
SENT_ITEMS |
TRANSIENT |
WORKSPACE |
WORKSPACES_ONLY |
Modifier and Type | Method and Description |
---|---|
static SearchContext |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchContext GLOBAL
public static final SearchContext TRANSIENT
public static final SearchContext WORKSPACE
public static final SearchContext FOLDER
public static final SearchContext INBOX
public static final SearchContext SENT_ITEMS
public static final SearchContext WORKSPACES_ONLY
public static SearchContext[] values()
for (SearchContext c : SearchContext.values()) System.out.println(c);
public static SearchContext 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 © 2019. All rights reserved.