Class RuleEvaluationLogger

java.lang.Object
de.hybris.platform.ruleengineservices.aspect.AbstractLoggingAspect
de.hybris.platform.droolsruleengineservices.aspect.RuleEvaluationLogger

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

    • RuleEvaluationLogger

      public RuleEvaluationLogger()
  • Method Details

    • decideBefore

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

      protected String getLogInfoFromArgs(List<?> args)
      Description copied from class: AbstractLoggingAspect
      Returns String representation of argument set of intercepted method.
      Overrides:
      getLogInfoFromArgs in class AbstractLoggingAspect
    • getLogger

      protected org.slf4j.Logger getLogger()
      Overrides:
      getLogger in class AbstractLoggingAspect
    • isEligibleForJoinPoint

      protected boolean isEligibleForJoinPoint(org.aspectj.lang.JoinPoint joinPoint)
      Description copied from class: AbstractLoggingAspect
      Checks if the joinPoint is eligible to process.
      Specified by:
      isEligibleForJoinPoint in class AbstractLoggingAspect
    • getDebugInfo

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

      protected String getMetaDataFromRule(org.kie.api.definition.rule.Rule rule, 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)