Package thredds.crawlabledataset.filter
Class MultiSelectorFilter
- java.lang.Object
-
- thredds.crawlabledataset.filter.MultiSelectorFilter
-
- All Implemented Interfaces:
CrawlableDatasetFilter
public class MultiSelectorFilter extends Object implements CrawlableDatasetFilter
The standard CrawlableDatasetFilter which uses a list of CrawlableDatasetSelectors to determine if a dataset is accepted.- Since:
- Jul 25, 2005 11:15:43 -0600
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MultiSelectorFilter.Selector
Used by a MultiSelectorFilter to determine whether to include or exclude a CrawlableDataset.
-
Constructor Summary
Constructors Constructor Description MultiSelectorFilter(List<MultiSelectorFilter.Selector> selectorGroup)
MultiSelectorFilter(MultiSelectorFilter.Selector selector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(CrawlableDataset dataset)
Test whether the specified CrawlableDataset should be included in a list of CrawlableDatasets.Object
getConfigObject()
Return the configuration object.
-
-
-
Constructor Detail
-
MultiSelectorFilter
public MultiSelectorFilter(List<MultiSelectorFilter.Selector> selectorGroup)
-
MultiSelectorFilter
public MultiSelectorFilter(MultiSelectorFilter.Selector selector)
-
-
Method Detail
-
getConfigObject
public Object getConfigObject()
Description copied from interface:CrawlableDatasetFilter
Return the configuration object.- Specified by:
getConfigObject
in interfaceCrawlableDatasetFilter
- Returns:
- the configuration Object (may be null).
-
accept
public boolean accept(CrawlableDataset dataset)
Description copied from interface:CrawlableDatasetFilter
Test whether the specified CrawlableDataset should be included in a list of CrawlableDatasets.- Specified by:
accept
in interfaceCrawlableDatasetFilter
- Parameters:
dataset
- the CrawlableDataset to test for inclusion.- Returns:
- true if the given CrawlableDataset should be included, false otherwise.
-
-