Klasse JexlRuleScript

java.lang.Object
net.simplace.core.jexl.JexlRuleScript
Alle implementierten Schnittstellen:
org.apache.commons.jexl3.JexlExpression

public class JexlRuleScript extends Object implements org.apache.commons.jexl3.JexlExpression
Autor:
lap
  • Methodendetails

    • analyseComplexity

      public static JexlRuleScript.COMPLEXITY analyseComplexity(String aRule)
      Analyses a Rule for it's complexity level
      Parameter:
      aRule -
      Gibt zurück:
      a JexlRuleScript.COMPLEXITY level
    • evaluate

      public Object evaluate(org.apache.commons.jexl3.JexlContext aContext)
      Angegeben von:
      evaluate in Schnittstelle org.apache.commons.jexl3.JexlExpression
      Parameter:
      aContext -
      Gibt zurück:
      the result of that Script or Expression execution
    • debugValues

      public String debugValues(FWSimVarMap aVarMap)
      Parameter:
      aContext -
      Gibt zurück:
      the result of that Script or Expression execution
    • getComplexity

      public JexlRuleScript.COMPLEXITY getComplexity()
      Gibt zurück:
      the JexlRuleScript.COMPLEXITY of this
      Ungültige Referenz
      Script
      or
      Ungültige Referenz
      Expression
    • getRule

      public String getRule()
      Gibt zurück:
      the Rule source of this
      Ungültige Referenz
      Script
      or
      Ungültige Referenz
      Expression
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object
    • getSourceText

      public String getSourceText()
      Angegeben von:
      getSourceText in Schnittstelle org.apache.commons.jexl3.JexlExpression
    • getParsedText

      public String getParsedText()
      Angegeben von:
      getParsedText in Schnittstelle org.apache.commons.jexl3.JexlExpression
    • callable

      public Callable<Object> callable(org.apache.commons.jexl3.JexlContext aArg0)
      Angegeben von:
      callable in Schnittstelle org.apache.commons.jexl3.JexlExpression