Class KRAMetaRuleEngine

java.lang.Object
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)
  • Constructor Details

  • Method Details

    • 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