[jboss-jira] [JBoss JIRA] (DROOLS-1482) FEEL: external java function references not working for functions with variable number of parameters
Edson Tirelli (JIRA)
issues at jboss.org
Thu Mar 16 20:20:00 EDT 2017
[ https://issues.jboss.org/browse/DROOLS-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13380065#comment-13380065 ]
Edson Tirelli commented on DROOLS-1482:
---------------------------------------
PR submitted: https://github.com/kiegroup/kie-dmn/pull/66
> FEEL: external java function references not working for functions with variable number of parameters
> ----------------------------------------------------------------------------------------------------
>
> Key: DROOLS-1482
> URL: https://issues.jboss.org/browse/DROOLS-1482
> Project: Drools
> Issue Type: Feature Request
> Components: dmn engine
> Affects Versions: 7.0.0.Beta7
> Reporter: Edson Tirelli
> Assignee: Edson Tirelli
> Fix For: 7.0.0.Final
>
>
> External Java functions with variable number of parameters not working. E.g.:
> {code}
> {
> string format : function( mask, value ) external {
> java : {
> class : "java.lang.String",
> method signature : "format( java.lang.String, [Ljava.lang.Object; )"
> }
> },
> format currency : function( amount )
> string format( "$%,4.2f", amount ),
> result : format currency( 76499.3456 )
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list