public class DefaultExcludedPatternsChecker extends Object implements ExcludedPatternsChecker
ExcludedPatternsChecker.IsExcluded
Modifier and Type | Field and Description |
---|---|
static String[] |
EXCLUDED_PATTERNS |
Constructor and Description |
---|
DefaultExcludedPatternsChecker() |
Modifier and Type | Method and Description |
---|---|
Set<Pattern> |
getExcludedPatterns()
Allow access list of all defined excluded patterns
|
ExcludedPatternsChecker.IsExcluded |
isExcluded(String value)
Checks if value matches any of patterns on exclude list
|
void |
setAdditionalExcludePatterns(String excludePatterns) |
protected void |
setDynamicMethodInvocation(String dmiValue) |
void |
setExcludedPatterns(Set<String> patterns)
Sets excluded patterns during runtime
|
void |
setExcludedPatterns(String commaDelimitedPatterns)
Sets excluded patterns during runtime
|
void |
setExcludedPatterns(String[] patterns)
Sets excluded patterns during runtime
|
protected void |
setOverrideExcludePatterns(String excludePatterns) |
public static final String[] EXCLUDED_PATTERNS
protected void setOverrideExcludePatterns(String excludePatterns)
public void setAdditionalExcludePatterns(String excludePatterns)
protected void setDynamicMethodInvocation(String dmiValue)
public void setExcludedPatterns(String commaDelimitedPatterns)
ExcludedPatternsChecker
setExcludedPatterns
in interface ExcludedPatternsChecker
commaDelimitedPatterns
- comma delimited string with patternspublic void setExcludedPatterns(String[] patterns)
ExcludedPatternsChecker
setExcludedPatterns
in interface ExcludedPatternsChecker
patterns
- array of additional excluded patternspublic void setExcludedPatterns(Set<String> patterns)
ExcludedPatternsChecker
setExcludedPatterns
in interface ExcludedPatternsChecker
patterns
- set of additional patternspublic ExcludedPatternsChecker.IsExcluded isExcluded(String value)
ExcludedPatternsChecker
isExcluded
in interface ExcludedPatternsChecker
value
- to checkpublic Set<Pattern> getExcludedPatterns()
ExcludedPatternsChecker
getExcludedPatterns
in interface ExcludedPatternsChecker
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.