public enum SearchStrategy extends Enum<SearchStrategy>
Enum Constant and Description |
---|
ALL
Search the entire hierarchy
|
CURRENT
Search only the current context
|
PARENTS
Search all parents and ancestors, but not the current context
|
Modifier and Type | Method and Description |
---|---|
static SearchStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchStrategy CURRENT
public static final SearchStrategy PARENTS
public static final SearchStrategy ALL
public static SearchStrategy[] values()
for (SearchStrategy c : SearchStrategy.values()) System.out.println(c);
public static SearchStrategy 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 © 2014 Pivotal Software, Inc.. All rights reserved.