java.lang.Object
ch.systemsx.cisd.openbis.generic.shared.api.v1.filter.TypeBasedDataSetFilter
- All Implemented Interfaces:
IDataSetFilter
Filter which will be passed only by data sets with a data set type code matching a certain regular expression.
-
Constructor Summary
Constructors
Creates an instance for the specified regular expression.
-
Method Summary
boolean
Return true if the data set type code of the specified data set matches the regular expression provided as constructor argument.
-
Constructor Details
-
TypeBasedDataSetFilter
public TypeBasedDataSetFilter(String datasetTypeCodePattern)
Creates an instance for the specified regular expression.
-
Method Details
-
pass
public boolean pass(DataSet dataSet)
Return true if the data set type code of the specified data set matches the regular expression provided as constructor argument.
- Specified by:
pass in interface IDataSetFilter
-