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
private static class AccumulatingBSFRuleExpression.RuleHelper
          Helper class that is exposed to groovy scripts
 
Nested classes/interfaces inherited from class org.kuali.rice.kew.rule.BSFRuleExpression
BSFRuleExpression.WorkflowRuleAPI
 
Field Summary
private static org.apache.log4j.Logger LOG
           
 
Constructor Summary
AccumulatingBSFRuleExpression()
           
 
Method Summary
protected  void declareBeans(org.apache.bsf.BSFManager manager, 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
 

Field Detail

LOG

private static final org.apache.log4j.Logger LOG
Constructor Detail

AccumulatingBSFRuleExpression

public AccumulatingBSFRuleExpression()
Method Detail

declareBeans

protected void declareBeans(org.apache.bsf.BSFManager manager,
                            Rule rule,
                            RouteContext context)
                     throws org.apache.bsf.BSFException
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
Parameters:
manager - the BSFManager
rule - the current Rule object
context - the current RouteContext
Throws:
org.apache.bsf.BSFException


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.