You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Biestro (JIRA)" <ji...@apache.org> on 2016/08/23 06:34:20 UTC

[jira] [Commented] (JEXL-211) Add callable method to JexlExpression interface

    [ 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)