[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 15:10:00 EDT 2017


Edson Tirelli created DROOLS-1482:
-------------------------------------

             Summary: 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