public static class ExtendedLogMetaRequest.ComparisonExpression extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
GREATER_OPERATOR |
static String |
LESSER_OPERATOR |
| Constructor and Description |
|---|
ComparisonExpression(String expression) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(Long value) |
boolean |
match(Long value,
boolean defaultValue)
Test the given value with the defined comparison functions based on
stringified expression.
|
boolean |
match(String value) |
String |
toString() |
public static final String GREATER_OPERATOR
public static final String LESSER_OPERATOR
public ComparisonExpression(String expression)
public boolean match(String value)
public boolean match(Long value)
public boolean match(Long value, boolean defaultValue)
value - value to test withdefaultValue - value to return when no expression was definedCopyright © 2008–2024 Apache Software Foundation. All rights reserved.