public class SimpleRule extends Rule
| Constructor and Description | 
|---|
SimpleRule(java.lang.String id,
          Extension extension,
          RuleType type)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
addParameter(RuleFunctionParameter parameter)
Attempts to add a parameter to this Rule. 
 | 
boolean | 
evaluate(RuleEvaluationContext ruleContext)  | 
RuleType | 
getType()  | 
boolean | 
hasParameter(java.lang.String name)  | 
boolean | 
matchesType(java.util.Set<java.lang.String> ruleTypeIdSet)
Returns true if the type of this rule is identified in
 the given ruleTypeId set 
 | 
getExtension, getIdpublic RuleType getType()
public boolean hasParameter(java.lang.String name)
public boolean addParameter(RuleFunctionParameter parameter)
parameter - public boolean evaluate(RuleEvaluationContext ruleContext) throws RuleEvaluationException
evaluate in class RuleRuleEvaluationExceptionpublic boolean matchesType(java.util.Set<java.lang.String> ruleTypeIdSet)
RulematchesType in class Rule