public class MultiSelectorFilter extends java.lang.Object implements CrawlableDatasetFilter
Modifier and Type | Class and Description |
---|---|
static class |
MultiSelectorFilter.Selector
Used by a MultiSelectorFilter to determine whether to include
or exclude a CrawlableDataset.
|
Constructor and Description |
---|
MultiSelectorFilter(java.util.List<MultiSelectorFilter.Selector> selectorGroup) |
MultiSelectorFilter(MultiSelectorFilter.Selector selector) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(CrawlableDataset dataset)
Test whether the specified CrawlableDataset should be included
in a list of CrawlableDatasets.
|
java.lang.Object |
getConfigObject()
Return the configuration object.
|
public MultiSelectorFilter(java.util.List<MultiSelectorFilter.Selector> selectorGroup)
public MultiSelectorFilter(MultiSelectorFilter.Selector selector)
public java.lang.Object getConfigObject()
CrawlableDatasetFilter
getConfigObject
in interface CrawlableDatasetFilter
public boolean accept(CrawlableDataset dataset)
CrawlableDatasetFilter
accept
in interface CrawlableDatasetFilter
dataset
- the CrawlableDataset to test for inclusion.