Class SpelLogicalExpressionParser

  • All Implemented Interfaces:
    com.embabel.agent.core.expression.LogicalExpressionParser

    
    public final class SpelLogicalExpressionParser
     implements LogicalExpressionParser
                        

    Logical expression parser for Spring Expression Language (SpEL). SPEL expressions are prefixed with "spel:".

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static String PREFIX
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      LogicalExpression parse(String expression) Parse the given expression string into a LogicalExpression.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpelLogicalExpressionParser

        SpelLogicalExpressionParser()
    • Method Detail

      • parse

         LogicalExpression parse(String expression)

        Parse the given expression string into a LogicalExpression. Returns null if the expression cannot be parsed. Typically, there is a prefix or syntax that the parser recognizes.