[jboss-jira] [JBoss JIRA] (DROOLS-3348) Support Compiled Feel Expression in the kie-maven-plugin
Luca Molteni (Jira)
issues at jboss.org
Thu Nov 22 11:18:00 EST 2018
Luca Molteni created DROOLS-3348:
------------------------------------
Summary: Support Compiled Feel Expression in the kie-maven-plugin
Key: DROOLS-3348
URL: https://issues.jboss.org/browse/DROOLS-3348
Project: Drools
Issue Type: Enhancement
Components: executable model
Reporter: Luca Molteni
Assignee: Luca Molteni
Currently the kie-maven-plugin avoid generating and compiles FEELExpression from DMN such as
```
import static org.kie.dmn.feel.codegen.feel11.CompiledFEELSemanticMappings.*;
import org.kie.dmn.feel.codegen.feel11.CompiledCustomFEELFunction;
import org.kie.dmn.feel.codegen.feel11.CompiledFEELExpression;
import org.kie.dmn.feel.codegen.feel11.CompiledFEELSupport;
import org.kie.dmn.feel.lang.EvaluationContext;
public class TemplateCompiledFEELExpression implements CompiledFEELExpression {
/**
* FEEL: 20
*/
@Override
public Object apply(EvaluationContext feelExprCtx) {
return K_20;
}
public static final java.math.BigDecimal K_20 = new java.math.BigDecimal(20, java.math.MathContext.DECIMAL128);
}
```
These are jitted at runtime.
We could compile them in kjar to have a faster runtime
Poker: 5
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list