Interface RequirementEvaluationFactory

All Known Implementing Classes:
RequirementEvaluationFactoryImpl

public interface RequirementEvaluationFactory
  • Method Details

    • createRequirementEvaluation

      RequirementEvaluation createRequirementEvaluation(Entity entity) throws CompileException
      setup a requirement evaluation to be used for running the rules on a entity
      Parameters:
      entity - the entity to load the rules for
      Returns:
      the readied evaluation
      Throws:
      CompileException
    • compileRequirementRule

      void compileRequirementRule(Entity requirementRule) throws CompileException
      compile a rule to check for compilation errors
      Parameters:
      requirementRule - the entity to pull the rules from
      Throws:
      CompileException - any error that happened during compilation