Package net.webpdf.wsclient.openapi
Class DocumentFileFilter
- java.lang.Object
-
- net.webpdf.wsclient.openapi.DocumentFileFilter
-
public class DocumentFileFilter extends Object
Defines a file filter with a list of \"include\" and \"exclude\" filter rules. First, the \"include rules\" are applied. If a file matches, the \"exclude rules\" are applied. Only if both rules apply, the file will be passed through the filter.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_EXCLUDE_RULESstatic StringJSON_PROPERTY_INCLUDE_RULES
-
Constructor Summary
Constructors Constructor Description DocumentFileFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentFileFilteraddExcludeRulesItem(DocumentFileFilterRule excludeRulesItem)DocumentFileFilteraddIncludeRulesItem(DocumentFileFilterRule includeRulesItem)booleanequals(Object o)DocumentFileFilterexcludeRules(List<DocumentFileFilterRule> excludeRules)@Nullable List<DocumentFileFilterRule>getExcludeRules()Sets the list of rules for files to be excluded (black list)@Nullable List<DocumentFileFilterRule>getIncludeRules()Sets the list of rules for files to be included (white list)inthashCode()DocumentFileFilterincludeRules(List<DocumentFileFilterRule> includeRules)voidsetExcludeRules(List<DocumentFileFilterRule> excludeRules)voidsetIncludeRules(List<DocumentFileFilterRule> includeRules)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_EXCLUDE_RULES
public static final String JSON_PROPERTY_EXCLUDE_RULES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INCLUDE_RULES
public static final String JSON_PROPERTY_INCLUDE_RULES
- See Also:
- Constant Field Values
-
-
Method Detail
-
excludeRules
public DocumentFileFilter excludeRules(List<DocumentFileFilterRule> excludeRules)
-
addExcludeRulesItem
public DocumentFileFilter addExcludeRulesItem(DocumentFileFilterRule excludeRulesItem)
-
getExcludeRules
@Nullable public @Nullable List<DocumentFileFilterRule> getExcludeRules()
Sets the list of rules for files to be excluded (black list)- Returns:
- excludeRules
-
setExcludeRules
public void setExcludeRules(List<DocumentFileFilterRule> excludeRules)
-
includeRules
public DocumentFileFilter includeRules(List<DocumentFileFilterRule> includeRules)
-
addIncludeRulesItem
public DocumentFileFilter addIncludeRulesItem(DocumentFileFilterRule includeRulesItem)
-
getIncludeRules
@Nullable public @Nullable List<DocumentFileFilterRule> getIncludeRules()
Sets the list of rules for files to be included (white list)- Returns:
- includeRules
-
setIncludeRules
public void setIncludeRules(List<DocumentFileFilterRule> includeRules)
-
-