public class SubRule extends Rule
| Constructor and Description |
|---|
SubRule(String name,
String expression,
String namespace)
See
SubRule(String, String, String, String), just without a description. |
SubRule(String name,
String expression,
String namespace,
String description) |
compareTo, equals, getDescription, getExpression, getFullyQualifiedName, getName, getNamespace, getOutcome, getPriority, hashCode, toStringpublic SubRule(String name, String expression, String namespace, String description)
name - The name of the rule. Should be unique within the namespace (checked when adding rules to the engine).expression - the rule, expressed in expression language. all variables must come from the bean called "input". The rule MUST evaluate to "true" if it is to be a candidate for execution.namespace - For a sub rule to be used by a rule, it must have the same namespace as the rule.description - A description to help manage rules.public SubRule(String name, String expression, String namespace)
SubRule(String, String, String, String), just without a description.Copyright © 2017 Ant Kutschera. All rights reserved.