org.kuali.rice.kew.rule
Class MetaRuleExpression
java.lang.Object
org.kuali.rice.kew.rule.BSFRuleExpression
org.kuali.rice.kew.rule.AccumulatingBSFRuleExpression
org.kuali.rice.kew.rule.MetaRuleExpression
- All Implemented Interfaces:
- RuleExpression
public class MetaRuleExpression
- extends AccumulatingBSFRuleExpression
Expression implementation for "meta rules". A "meta rule" consists of a sequence of
subordinate rule evaluations each processed according to an associated modifier:
- next
-
- proceed with rule evaluation
- true
- if this rule evaluates to true, then return the responsibilities associated with the rule
- false
- if this rule evaluates to false, then return the responsibilities associated with the rule
E.g.
bizRule1: next; bizRule2: true; bizRule3: false
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaRuleExpression
public MetaRuleExpression()
evaluate
public RuleExpressionResult evaluate(Rule rule,
RouteContext context)
- Description copied from interface:
RuleExpression
- Performs an evaluation and returns a list of 0 or more
RuleResponsibilityBo
s to which to dispatch action requests
- Specified by:
evaluate
in interface RuleExpression
- Overrides:
evaluate
in class BSFRuleExpression
- Parameters:
rule
- the rule that this rule expression applies tocontext
- the RouteContext under which the expression is being evaluated
- Returns:
- the result of the rule evaluation
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.