Interface IRestrictionEvaluationContext


public interface IRestrictionEvaluationContext
Defines the evaluation context for version restrictions. Before setting values for variables, startEvaluation() shall be called by IVersionRestriction.evaluate(IRestrictionEvaluationContext, Version). unsetValue(IVariable) shall be called before ending the evaluation to clean up the variable binding. Finally IVersionRestriction.evaluate(IRestrictionEvaluationContext, Version) shall call endEvaluation(Object).
Author:
Holger Eichelberger
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    endEvaluation(Object processor)
    Notifies the context about the end of the evaluation.
    void
    setValue(IVariable variable, Version version)
    Defines the value for the given variable in this context.
    Notifies the context about starting the evaluation.
    void
    Unsets the value for the given variable.