Class RuleEvaluationLogger
java.lang.Object
de.hybris.platform.ruleengineservices.aspect.AbstractLoggingAspect
de.hybris.platform.droolsruleengineservices.aspect.RuleEvaluationLogger
Logging Aspect for intercepting calls of public class methods in
de.hybris.platform.droolsruleengineservices.rule.evaluation package.
-
Field Summary
Fields inherited from class de.hybris.platform.ruleengineservices.aspect.AbstractLoggingAspect
DEBUG, DEFAULT_LOG_LEVEL, INFO, TRACE, WARN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecideBefore(org.aspectj.lang.JoinPoint joinPoint) protected StringgetDebugInfo(org.drools.core.spi.KnowledgeHelper context) Aggregates debug info from rule eval context into String.protected org.slf4j.Loggerprotected StringgetLogInfoFromArgs(List<?> args) Returns String representation of argument set of intercepted method.protected StringgetMetaDataFromRule(org.kie.api.definition.rule.Rule rule, String key) returns the rule's meta-data for the given key (ornull).protected booleanisEligibleForJoinPoint(org.aspectj.lang.JoinPoint joinPoint) Checks if thejoinPointis eligible to process.Methods inherited from class de.hybris.platform.ruleengineservices.aspect.AbstractLoggingAspect
getLogLevel, getLongSignatureName, getSignatureName, isLoggingEligibleForJoinPoint, logAtDebugLevel, logAtInfoLevel, logAtTraceLevel, logAtWarnLevel, logJoinPoint, setLogLevel
-
Constructor Details
-
RuleEvaluationLogger
public RuleEvaluationLogger()
-
-
Method Details
-
decideBefore
public void decideBefore(org.aspectj.lang.JoinPoint joinPoint) -
getLogInfoFromArgs
Description copied from class:AbstractLoggingAspectReturns String representation of argument set of intercepted method.- Overrides:
getLogInfoFromArgsin classAbstractLoggingAspect
-
getLogger
protected org.slf4j.Logger getLogger()- Overrides:
getLoggerin classAbstractLoggingAspect
-
isEligibleForJoinPoint
protected boolean isEligibleForJoinPoint(org.aspectj.lang.JoinPoint joinPoint) Description copied from class:AbstractLoggingAspectChecks if thejoinPointis eligible to process.- Specified by:
isEligibleForJoinPointin classAbstractLoggingAspect
-
getDebugInfo
Aggregates debug info from rule eval context into String. -
getMetaDataFromRule
returns the rule's meta-data for the given key (ornull). CallstoString()on the meta-data object.- Parameters:
rule- the rulekey- the key of the meta-data- Returns:
- the string representation of the meta-data (or null)
-