Interface ExecutionInterceptor


public interface ExecutionInterceptor
Contract for evaluating AST nodes or executing rule logic dynamically during runtime interception.
  • Method Summary

    Modifier and Type
    Method
    Description
    Evaluates the rule for a given context.
  • Method Details

    • evaluate

      Object evaluate(ExecutionContext context) throws Exception
      Evaluates the rule for a given context.
      Parameters:
      context - execution context
      Returns:
      result of evaluation
      Throws:
      Exception - if evaluation fails