public class DroolsRuleLoopException extends RuleEngineRuntimeException
limit times.| Constructor and Description |
|---|
DroolsRuleLoopException(long limit,
Map<Rule,Long> ruleMap) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllRuleFirings()
Returns an ordered list of strings for all rules that have fired during the rule evaluation.
|
long |
getLimit() |
String |
getMessage()
Returns the 10 most fired rules and its firing count.
|
List<String> |
getRuleFirings(long size)
Returns the list of strings as described in
getAllRuleFirings() but limited by size. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic long getLimit()
public List<String> getAllRuleFirings()
$firedCount:$Rule.id, e.g.
100:Rule Number 14public List<String> getRuleFirings(long size)
getAllRuleFirings() but limited by size.size - limit the list of strings returnedsize most often fired rulespublic String getMessage()
getMessage in class ThrowableCopyright © 2017 SAP SE. All Rights Reserved.