Class NestedConditionEvaluator
- java.lang.Object
-
- org.apache.unomi.plugins.baseplugin.conditions.NestedConditionEvaluator
-
- All Implemented Interfaces:
ConditionEvaluator
public class NestedConditionEvaluator extends Object implements ConditionEvaluator
-
-
Constructor Summary
Constructors Constructor Description NestedConditionEvaluator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Item
createFinalNestedItemForEvaluation(Item parentItem, String path, Map<String,Object> flattenedNestedItem)
boolean
eval(Condition condition, Item item, Map<String,Object> context, ConditionEvaluatorDispatcher dispatcher)
protected Map<String,Object>
flattenNestedItem(String path, Map<String,Object> nestedItem)
void
setPropertyConditionEvaluator(PropertyConditionEvaluator propertyConditionEvaluator)
-
-
-
Method Detail
-
setPropertyConditionEvaluator
public void setPropertyConditionEvaluator(PropertyConditionEvaluator propertyConditionEvaluator)
-
eval
public boolean eval(Condition condition, Item item, Map<String,Object> context, ConditionEvaluatorDispatcher dispatcher)
- Specified by:
eval
in interfaceConditionEvaluator
-
flattenNestedItem
protected Map<String,Object> flattenNestedItem(String path, Map<String,Object> nestedItem)
-
-