public static class ExtendedLogMetaRequest.ComparisonCollection extends Object
ComparisonExpression
.Constructor and Description |
---|
ComparisonCollection(Set<String> expressions) |
Modifier and Type | Method and Description |
---|---|
boolean |
match(Long value) |
boolean |
match(Long value,
boolean defaultValue)
Checks, if the given value matches all the
ComparisonExpression . |
boolean |
match(String value) |
public boolean match(Long value)
public boolean match(String value)
public boolean match(Long value, boolean defaultValue)
ComparisonExpression
.
This implies an AND logic between the expressions.value
- given value to match againstdefaultValue
- default value to return when no expression is definedCopyright © 2008–2024 Apache Software Foundation. All rights reserved.