public enum SearchStrategy extends Enum<SearchStrategy>
Enum Constant and Description |
---|
ALL
Search the entire hierarchy.
|
ANCESTORS
Search all ancestors, but not the current context.
|
CURRENT
Search only 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 ANCESTORS
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 © 2017 Pivotal Software, Inc.. All rights reserved.