commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Biestro (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JEXL-211) Add callable method to JexlExpression interface
Date Tue, 23 Aug 2016 06:34:20 GMT

    [ https://issues.apache.org/jira/browse/JEXL-211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15432228#comment-15432228
] 

Henri Biestro commented on JEXL-211:
------------------------------------

This is already exposed for JexlScript. You mean you would like it exposed for JexlExpression
also ?
As a workaround/hack, JexlScript & JexlExpression are both implemented by the Script class;
((Script) e).callable(...) should work.

> Add callable method to JexlExpression interface
> -----------------------------------------------
>
>                 Key: JEXL-211
>                 URL: https://issues.apache.org/jira/browse/JEXL-211
>             Project: Commons JEXL
>          Issue Type: Improvement
>    Affects Versions: 3.0
>            Reporter: Dmitri Blinov
>            Priority: Minor
>
> It would be convenient to have the following method
> {code}
>    Callable<Object> callable(JexlContext context);
> {code}
> in both JexlExpression and JexlScript interfaces. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message