Package thredds.crawlabledataset
Interface CrawlableDatasetFilter
-
- All Known Implementing Classes:
LastModifiedLimitFilter
,MultiSelectorFilter
,RegExpMatchOnNameFilter
,RegExpMatchOnPathFilter
,WildcardMatchOnNameFilter
,WildcardMatchOnPathFilter
public interface CrawlableDatasetFilter
A filter for CrawlableDatasets.Instances of this interface may be passed to the
Implementation note: The TDS framework (InvDatasetScan, etc) uses a public constructor with a single configuration Object argument to instantiate instances of a CrawlableDatasetFilter. If your implementation will not be used in the TDS framework, other constructors can be used.
method of theCrawlableDataset.listDatasets(CrawlableDatasetFilter)
class.CrawlableDataset
- Since:
- Jun 22, 2005 9:30:43 AM
- See Also:
CrawlableDataset.listDatasets(CrawlableDatasetFilter)
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
accept
boolean accept(CrawlableDataset dataset)
Test whether the specified CrawlableDataset should be included in a list of CrawlableDatasets.- Parameters:
dataset
- the CrawlableDataset to test for inclusion.- Returns:
- true if the given CrawlableDataset should be included, false otherwise.
-
getConfigObject
Object getConfigObject()
Return the configuration object.- Returns:
- the configuration Object (may be null).
-
-