org.kuali.rice.kew.rule
Class KRAMetaRuleEngine
java.lang.Object
   org.kuali.rice.kew.rule.KRAMetaRuleEngine
org.kuali.rice.kew.rule.KRAMetaRuleEngine
- public class KRAMetaRuleEngine 
- extends Object
Implements the KRA meta-rule processing and state machine engine
- 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 | 
 
KRAMetaRuleEngine
public KRAMetaRuleEngine(String expression)
                  throws ParseException
- Throws:
- ParseException
getExpression
public String getExpression()
- 
- Returns:
- the expression the engine was initialized with
 
getStatements
public String[] getStatements()
- 
- Returns:
- the parsed statements
 
getCurStatement
public int getCurStatement()
- 
- Returns:
- the next statement the engine will process
 
setCurStatement
public void setCurStatement(int statementNo)
- 
- Parameters:
- statementNo- the statement index at which to resume processing
 
isDone
public boolean isDone()
- 
- Returns:
- whether we are done processing
 
processSingleStatement
public RuleExpressionResult processSingleStatement(RouteContext context)
                                            throws ParseException
- Processes a single statement and returns the result
 
- 
- Parameters:
- context- the current RouteContext
- Returns:
- the expression result that resulted from the evaluation of a single statement
- Throws:
- ParseException- if the statement could not be parsed
 
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.