|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectthredds.crawlabledataset.filter.MultiSelectorFilter.Selector
public static class MultiSelectorFilter.Selector
Used by a MultiSelectorFilter to determine whether to include or exclude a CrawlableDataset.
Constructor Summary | |
---|---|
MultiSelectorFilter.Selector(CrawlableDatasetFilter filter,
boolean includer,
boolean applyToAtomicDataset,
boolean applyToCollectionDataset)
Construct a Selector which uses the given CrawlableDatasetFilter to determine a dataset match. |
Method Summary | |
---|---|
CrawlableDatasetFilter |
getFilter()
|
boolean |
isApplicable(CrawlableDataset dataset)
Test if this selector applies to the given dataset. |
boolean |
isApplyToAtomicDataset()
|
boolean |
isApplyToCollectionDataset()
|
boolean |
isExcluder()
Return true if this selector is an exclusion rather than inclusion selector. |
boolean |
isIncluder()
Return true if this selector is an inclusion rather than exclusion selector. |
boolean |
match(CrawlableDataset dataset)
Determine if the given dataset matches this selector. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiSelectorFilter.Selector(CrawlableDatasetFilter filter, boolean includer, boolean applyToAtomicDataset, boolean applyToCollectionDataset)
filter
- the filter used by this Selector to match against datasets.includer
- if true, matching datasets will be included, otherwise they will be excluded.applyToAtomicDataset
- if true, this selector applies to atomic datasets.applyToCollectionDataset
- if true, this selector applies to collection datasets.Method Detail |
---|
public CrawlableDatasetFilter getFilter()
public boolean isApplyToAtomicDataset()
public boolean isApplyToCollectionDataset()
public boolean match(CrawlableDataset dataset)
dataset
- the CrawlableDataset to test if this selector matches.
public boolean isApplicable(CrawlableDataset dataset)
dataset
- the CrawlableDataset to test if this selector applies.
public boolean isIncluder()
public boolean isExcluder()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |