Class RuleFactory
java.lang.Object
org.apache.log4j.rule.RuleFactory
A Factory class which, given a string representation of the rule,
and a context stack, will
return a Rule ready for evaluation against events.
If an operator is requested that isn't supported,
an IllegalArgumentException is thrown.
- Author:
- Scott Deboy (sdeboy@apache.org)
-
Method Summary
Modifier and TypeMethodDescriptionstatic RuleFactoryGet instance.Create rule from applying operator to stack.booleanDetermine if specified string is a known operator.
-
Method Details
-
getInstance
-
isRule
Determine if specified string is a known operator.- Parameters:
symbol- string- Returns:
- true if string is a known operator
-
getRule
-