public class ExpressionEvaluator
extends java.lang.Object
Constructor and Description |
---|
ExpressionEvaluator(com.comergent.api.apps.configurator.IModelBean model,
java.lang.Object currentSelections) |
ExpressionEvaluator(com.comergent.api.apps.configurator.IModelBean model,
java.lang.Object currentSelections,
java.util.Map<java.lang.String,java.util.List> inputPropertiesMap) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
evaluate(java.lang.String expression)
This method evaluates the expression an returns a list of evaluated
values.
|
public ExpressionEvaluator(com.comergent.api.apps.configurator.IModelBean model, java.lang.Object currentSelections)
public ExpressionEvaluator(com.comergent.api.apps.configurator.IModelBean model, java.lang.Object currentSelections, java.util.Map<java.lang.String,java.util.List> inputPropertiesMap)
public java.util.List<java.lang.String> evaluate(java.lang.String expression) throws com.comergent.api.apps.configurator.ConfiguratorException
expression
- The expression to be evaluated.com.comergent.api.apps.configurator.ConfiguratorException
- If there is an error while evaluating the expression.