public class FilterParameters extends JsseParameters
| Modifier and Type | Class and Description |
|---|---|
static class |
FilterParameters.Patterns
An immutable collection of compiled includes and excludes filter
Patterns. |
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
exclude |
protected List<String> |
include |
| Constructor and Description |
|---|
FilterParameters() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getExclude()
Returns a live copy of the list of patterns to exclude.
|
List<Pattern> |
getExcludePatterns()
Returns a list of compiled
Patterns based on the
values of the exclude list. |
List<String> |
getInclude()
Returns a live copy of the list of patterns to include.
|
List<Pattern> |
getIncludePatterns()
Returns a list of compiled
Patterns based on the
values of the include list. |
protected List<Pattern> |
getPattern(List<String> patternStrings)
Compiles
Patterns for each expression in patternStrings. |
FilterParameters.Patterns |
getPatterns()
Returns an immutable collection of compiled filter patterns based on
the state of this instance at the time of invocation.
|
String |
toString() |
getCamelContext, parsePropertyValue, parsePropertyValues, resolveResource, setCamelContextpublic List<String> getInclude()
public List<String> getExclude()
public List<Pattern> getIncludePatterns()
Patterns based on the
values of the include list.nullPatternSyntaxException - if any of the expressions are invalidpublic List<Pattern> getExcludePatterns()
Patterns based on the
values of the exclude list.nullPatternSyntaxException - if any of the expressions are invalidpublic FilterParameters.Patterns getPatterns()
protected List<Pattern> getPattern(List<String> patternStrings)
Patterns for each expression in patternStrings.patternStrings - the list of regular expressions to compilePatternSyntaxException - if any of the expressions are invalidApache Camel