org.milyn.rules.mvel
Class MVELRuleEvalResult

java.lang.Object
  extended by org.milyn.rules.BasicRuleEvalResult
      extended by org.milyn.rules.mvel.MVELRuleEvalResult
All Implemented Interfaces:
Serializable, RuleEvalResult

public class MVELRuleEvalResult
extends BasicRuleEvalResult

MVEL RuleEvalResult.

Author:
Julien Sirocchi
See Also:
Serialized Form

Constructor Summary
MVELRuleEvalResult(boolean matched, String ruleName, String ruleProviderName, String text)
          Creates a RuleEvalResult that indicates a successfully executed rule.
MVELRuleEvalResult(Throwable evalException, String ruleName, String ruleProviderName, String text)
           
 
Method Summary
 String getText()
           
 String toString()
           
 
Methods inherited from class org.milyn.rules.BasicRuleEvalResult
getEvalException, getRuleName, getRuleProviderName, matched
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MVELRuleEvalResult

public MVELRuleEvalResult(boolean matched,
                          String ruleName,
                          String ruleProviderName,
                          String text)
Creates a RuleEvalResult that indicates a successfully executed rule.


MVELRuleEvalResult

public MVELRuleEvalResult(Throwable evalException,
                          String ruleName,
                          String ruleProviderName,
                          String text)
Method Detail

getText

public String getText()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2018. All rights reserved.