public class RuleEvaluationLogger extends AbstractLoggingAspect
DEBUG, DEFAULT_LOG_LEVEL, INFO, TRACE, WARN| Constructor and Description |
|---|
RuleEvaluationLogger() |
| Modifier and Type | Method and Description |
|---|---|
void |
decideBefore(JoinPoint joinPoint) |
protected String |
getDebugInfo(KnowledgeHelper context)
Aggregates debug info from rule eval context into String.
|
protected Logger |
getLogger() |
protected String |
getLogInfoFromArgs(List<?> args)
Returns String representation of argument set of intercepted method.
|
protected String |
getMetaDataFromRule(Rule rule,
String key)
returns the rule's meta-data for the given key (or
null). |
protected boolean |
isEligibleForJoinPoint(JoinPoint joinPoint)
Checks if the
joinPoint is eligible to process. |
getLogLevel, isLoggingEligibleForJoinPoint, logJoinPoint, setLogLevelpublic void decideBefore(JoinPoint joinPoint)
protected String getLogInfoFromArgs(List<?> args)
AbstractLoggingAspectgetLogInfoFromArgs in class AbstractLoggingAspectprotected Logger getLogger()
getLogger in class AbstractLoggingAspectprotected boolean isEligibleForJoinPoint(JoinPoint joinPoint)
AbstractLoggingAspectjoinPoint is eligible to process.isEligibleForJoinPoint in class AbstractLoggingAspectprotected String getDebugInfo(KnowledgeHelper context)
protected String getMetaDataFromRule(Rule rule, String key)
null). Calls toString() on the meta-data
object.rule - the rulekey - the key of the meta-dataCopyright © 2017 SAP SE. All Rights Reserved.