Examples: "(a and b) or (c and d)" "!a and b"
Usage:
liquibase.LabelExpression , liquibase.ContextExpression
| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | NESTED_EXPRESSION_PATTERN
find "(nested_expression)" in "left and (nested_expression) or right" expression |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | Returns: true if provided list of items satisfy expression criteria. false otherwise.- expression that will be parsed and evaluated against provided list of items expression, Collection<String> - list of items items)Test provided |
| NESTED_EXPRESSION_PATTERN | back to summary |
|---|---|
| private static final Pattern NESTED_EXPRESSION_PATTERN find "(nested_expression)" in "left and (nested_expression) or right" expression | |
| ExpressionMatcher | back to summary |
|---|---|
| private ExpressionMatcher() | |
| matches | back to summary |
|---|---|
| public static boolean matches(String expression, Collection<String> items) Test provided
| |