Package org.kuali.rice.kew.rule
Class KRAMetaRuleEngine
java.lang.Object
org.kuali.rice.kew.rule.KRAMetaRuleEngine
Implements the KRA meta-rule processing and state machine engine
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintString[]booleanisDone()processSingleStatement(RouteContext context) Processes a single statement and returns the resultvoidsetCurStatement(int statementNo)
-
Constructor Details
-
KRAMetaRuleEngine
- Throws:
ParseException
-
-
Method Details
-
getExpression
- Returns:
- the expression the engine was initialized with
-
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
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
-