public abstract class SubTreeSearchOptions extends Object
SearchInfoDefinition
is found in the lookup of
node where search starts.
If an instance of this class is found in lookup of a node it will be used for
setting default search options.
It is mainly useful in project nodes to set which folders and files are
skipped (filtered).
Example:
public class MyNode extends AbstractNode {
public MyNode() {
super(Lookups.singleton(new SubTreeSearchOptions() {
public List<SearchFilterDefinition> getFilters() {
// return list of SearchFilterDefinitions objects.
}
}));
}
...
}
Constructor and Description |
---|
SubTreeSearchOptions() |
Modifier and Type | Method and Description |
---|---|
abstract List<SearchFilterDefinition> |
getFilters()
Get list of filters that will be used for searching under a node.
|
@NonNull public abstract List<SearchFilterDefinition> getFilters()