org.faktorips.runtime.formula
Interface IFormulaEvaluatorFactory
public interface IFormulaEvaluatorFactory
An interface for formula evaluator factories to create a IFormulaEvaluator. It is part of
the creation of an evaluator to set the IProductComponentGeneration or
IProductComponent and a map of compiled expressions the evaluator should handle.
- Author:
- dirmeier
createFormulaEvaluator
IFormulaEvaluator createFormulaEvaluator(Object object,
Map<String,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 - The IProductComponentGeneration or IProductComponent in 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
Copyright © 2015. All rights reserved.