public class EntityConditionHelper extends Object
| Constructor and Description |
|---|
EntityConditionHelper() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
predicateTrueForEachLeafExpression(EntityCondition input,
com.google.common.base.Predicate<EntityExpr> predicate)
Traverses input EntityCondition and checks of predicate is true for each leaf EntityExpr (that does not contain
sub-conditions)
|
static EntityCondition |
transformCondition(EntityCondition input,
com.google.common.base.Function<EntityExpr,EntityCondition> function)
Traverses input EntityCondition and each leaf EntityExpr (that does not contain sub-conditions) is transformed
with function
|
public static boolean predicateTrueForEachLeafExpression(EntityCondition input, com.google.common.base.Predicate<EntityExpr> predicate)
input - EntityCondition to be checkedpredicate - to be applied to each leaf EntityExprpublic static EntityCondition transformCondition(EntityCondition input, com.google.common.base.Function<EntityExpr,EntityCondition> function)
input - EntityCondition to be transformedfunction - to be applied to each leaf EntityExprCopyright © 2024 Atlassian. All rights reserved.