Class RuleEvaluationLogger


  • public class RuleEvaluationLogger
    extends AbstractLoggingAspect
    Logging Aspect for intercepting calls of public class methods in de.hybris.platform.droolsruleengineservices.rule.evaluation package.
    • Constructor Detail

      • RuleEvaluationLogger

        public RuleEvaluationLogger()
    • Method Detail

      • decideBefore

        public void decideBefore​(org.aspectj.lang.JoinPoint joinPoint)
      • getDebugInfo

        protected java.lang.String getDebugInfo​(org.drools.core.spi.KnowledgeHelper context)
        Aggregates debug info from rule eval context into String.
      • getMetaDataFromRule

        protected java.lang.String getMetaDataFromRule​(org.kie.api.definition.rule.Rule rule,
                                                       java.lang.String key)
        returns the rule's meta-data for the given key (or null). Calls toString() on the meta-data object.
        Parameters:
        rule - the rule
        key - the key of the meta-data
        Returns:
        the string representation of the meta-data (or null)