Class DataSetTypeFilter
java.lang.Object
ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.DataSetTypeFilter
A class that filters out data set types based on a whitelist or blacklist.
Only one list can be applied. If both the whitelist and blacklist are specified, then the whitelist is used. If neither are specified, then no filtering is done.
-
Constructor Summary
ConstructorsConstructorDescriptionDataSetTypeFilter(String whitelistPatternString, String blacklistPatternString) Constructor -
Method Summary
Modifier and TypeMethodDescriptionstatic StringconvertPatternListToString(List<String> dataSetTypePatterns) Takes a List of patterns and serializes them to a single string that this class can later reread.filterDataSetTypes(List<DataSetType> typesToFilter)
-
Constructor Details
-
DataSetTypeFilter
Constructor- Parameters:
whitelistPatternString- A string serialized usingconvertPatternListToString(java.util.List<java.lang.String>).blacklistPatternString- A string serialized usingconvertPatternListToString(java.util.List<java.lang.String>).
-
-
Method Details
-
convertPatternListToString
Takes a List of patterns and serializes them to a single string that this class can later reread. -
filterDataSetTypes
-