Package thredds.catalog
Class DatasetFilter.ByServiceType
- java.lang.Object
-
- thredds.catalog.DatasetFilter.ByServiceType
-
- All Implemented Interfaces:
DatasetFilter
- Enclosing interface:
- DatasetFilter
public static class DatasetFilter.ByServiceType extends Object implements DatasetFilter
Filter a Catalog by the access service type.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface thredds.catalog.DatasetFilter
DatasetFilter.ByDataType, DatasetFilter.ByServiceType
-
-
Constructor Summary
Constructors Constructor Description ByServiceType(ServiceType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intaccept(InvDataset d)Decision function as to whether to accept this dataset or not.
-
-
-
Constructor Detail
-
ByServiceType
public ByServiceType(ServiceType type)
-
-
Method Detail
-
accept
public int accept(InvDataset d)
Description copied from interface:DatasetFilterDecision function as to whether to accept this dataset or not.- Specified by:
acceptin interfaceDatasetFilter- Parameters:
d- dataset to filter- Returns:
- 1 if pass, -1 if fail, 0 is dont know.
-
-