Interface RuleBodyExecutor

  • All Known Implementing Classes:
    BuildlangExecution

    public interface RuleBodyExecutor
    An instance being able to execute a rule body.
    Author:
    Holger Eichelberger
    • Method Detail

      • executeRuleBody

        java.lang.Object executeRuleBody​(IRuleBlock ruleBody,
                                         RuleExecutionContext context)
                                  throws VilException
        Executes a rule body.
        Parameters:
        ruleBody - the rule body
        context - the rule execution context
        Returns:
        the execution status or the value of the block depending on the type of the rule
        Throws:
        VilException - in case of serious execution problems