Interface IEvaluationInterceptor


  • public interface IEvaluationInterceptor
    An evaluation interceptor may step into the expression evaluation at certain points in time to modify setting/getting values. Such a mechanism is needed, as the underlying configuration model assumes interaction in a certain manner, in particular regarding compound default values, which may not fit to an incremental application of the expression evaluator, e.g., in the context of a reasoner. More specifically, if default value expressions are evaluated as individual constraints to handle variable interactions, a value assignment may accidentally overwrite previously set default values (the way that the value factory creates values and the configuration model applying these values) while in the mean time changing the assignment state to assigned although default values are not completely applied. Currently, the interceptor us used only within compounds, but may be extended to other model elements in the future.
    Author:
    Holger Eichelberger