org.kuali.rice.kew.rule
Class AccumulatingBSFRuleExpression

java.lang.Object
  extended by org.kuali.rice.kew.rule.BSFRuleExpression
      extended by org.kuali.rice.kew.rule.AccumulatingBSFRuleExpression
All Implemented Interfaces:
RuleExpression
Direct Known Subclasses:
MetaRuleExpression

public class AccumulatingBSFRuleExpression
extends BSFRuleExpression

An extension of BSFRuleExpression that makes it easier to accumulate a list of responsibilities to emit.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.kew.rule.BSFRuleExpression
BSFRuleExpression.WorkflowRuleAPI
 
Constructor Summary
AccumulatingBSFRuleExpression()
           
 
Method Summary
protected  void declareBeans(ScriptEngine engine, Rule rule, RouteContext context)
          Populates the BSFManager with beans that are accessible to BSF scripts.
 
Methods inherited from class org.kuali.rice.kew.rule.BSFRuleExpression
evaluate, parseLang
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccumulatingBSFRuleExpression

public AccumulatingBSFRuleExpression()
Method Detail

declareBeans

protected void declareBeans(ScriptEngine engine,
                            Rule rule,
                            RouteContext context)
                     throws ScriptException
Description copied from class: BSFRuleExpression
Populates the BSFManager with beans that are accessible to BSF scripts. May be overridden by subclasses. The standard implementation exposes the rule and routeContext

Overrides:
declareBeans in class BSFRuleExpression
rule - the current Rule object
context - the current RouteContext
Throws:
ScriptException


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.