Interface ELService


  • public interface ELService
    The ELService provides a DSL to facilitate the evaluation of expression language.
    • Method Detail

      • withExpression

        ELService.ELContextProvider withExpression​(String el,
                                                   Class returnType)
        Sets the expression language to evaluate and specifies the expected return type.
        Parameters:
        el - the expression language to evaluate
        returnType - the expected return type
        Returns:
        an ELContextProvider
        Throws:
        SeedException - if el is blank or returnType is null
      • withValueExpression

        ELService.ValueExpressionProvider withValueExpression​(javax.el.ValueExpression valueExpression)
        Sets a ValueExpression to evaluate.
        Parameters:
        valueExpression - the value expression to set
        Returns:
        ValueExpressionProvider
        Throws:
        SeedException - if the valueExpression is null
      • withMethodExpression

        ELService.MethodExpressionProvider withMethodExpression​(javax.el.MethodExpression methodExpression)
        Sets a MethodExpression to invoke.
        Parameters:
        methodExpression - the method expression to set
        Returns:
        MethodExpressionProvider
        Throws:
        SeedException - if the methodExpression is null