Package org.faktorips.runtime.formula
Interface IFormulaEvaluatorFactory
-
public interface IFormulaEvaluatorFactoryAn interface for formula evaluator factories to create aIFormulaEvaluator. It is part of the creation of an evaluator to set theIProductComponentGenerationorIProductComponentand a map of compiled expressions the evaluator should handle.- Author:
- dirmeier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IFormulaEvaluatorcreateFormulaEvaluator(java.lang.Object object, java.util.Map<java.lang.String,java.lang.String> nameToCompiledExpressionMap)This method creates a new formula evaluator.
-
-
-
Method Detail
-
createFormulaEvaluator
IFormulaEvaluator createFormulaEvaluator(java.lang.Object object, java.util.Map<java.lang.String,java.lang.String> nameToCompiledExpressionMap)
This method creates a new formula evaluator. The evaluator getting the product component generation or product component in which context the formulas have to be evaluated and a list of compiled formula expressions.- Parameters:
object- TheIProductComponentGenerationorIProductComponentin which context a formula have to be executednameToCompiledExpressionMap- The map of compiled formula expressions with their name as a key- Returns:
- The new formula evaluator that is able to evaluate every formula the was in the list of compiled expressions
-
-