Package org.apache.camel.support.jsse
Class FilterParameters
java.lang.Object
org.apache.camel.support.jsse.JsseParameters
org.apache.camel.support.jsse.FilterParameters
- All Implemented Interfaces:
CamelContextAware
,HasCamelContext
Represents a set of regular expression based filter patterns for including and excluding content of some type.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
An immutable collection of compiled includes and excludes filterPattern
s. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a live copy of the list of patterns to exclude.Returns a list of compiledPattern
s based on the values of the exclude list.Returns a live copy of the list of patterns to include.Returns a list of compiledPattern
s based on the values of the include list.getPattern
(List<String> patternStrings) CompilesPattern
s for each expression inpatternStrings
.Returns an immutable collection of compiled filter patterns based on the state of this instance at the time of invocation.toString()
Methods inherited from class org.apache.camel.support.jsse.JsseParameters
getCamelContext, parsePropertyValue, parsePropertyValues, resolveResource, setCamelContext
-
Field Details
-
include
-
exclude
-
-
Constructor Details
-
FilterParameters
public FilterParameters()
-
-
Method Details
-
getInclude
Returns a live copy of the list of patterns to include. The list of excludes takes precedence over the include patterns.- Returns:
- the list of patterns to include
-
getExclude
Returns a live copy of the list of patterns to exclude. This list takes precedence over the include patterns.- Returns:
- the list of patterns to exclude
-
getIncludePatterns
Returns a list of compiledPattern
s based on the values of the include list.- Returns:
- the list of compiled expressions, never
null
- Throws:
PatternSyntaxException
- if any of the expressions are invalid
-
getExcludePatterns
Returns a list of compiledPattern
s based on the values of the exclude list.- Returns:
- the list of compiled expressions, never
null
- Throws:
PatternSyntaxException
- if any of the expressions are invalid
-
getPatterns
Returns an immutable collection of compiled filter patterns based on the state of this instance at the time of invocation. -
getPattern
CompilesPattern
s for each expression inpatternStrings
.- Parameters:
patternStrings
- the list of regular expressions to compile- Returns:
- the list of compiled patterns
- Throws:
PatternSyntaxException
- if any of the expressions are invalid
-
toString
-