Search in sources :

Example 1 with FeelToJuelFunctionTransformer

use of org.camunda.bpm.dmn.feel.impl.juel.transform.FeelToJuelFunctionTransformer in project camunda-engine-dmn by camunda.

the class FeelEngineCustomFunctionTest method initEngine.

@Before
public void initEngine() {
    variables = Variables.createVariables();
    List<FeelToJuelFunctionTransformer> customFunctionTransformers = new ArrayList<FeelToJuelFunctionTransformer>();
    customFunctionTransformers.add(new StartsWithFunctionTransformer());
    FeelEngineFactoryImpl feelEngineFactory = new FeelEngineFactoryImpl(customFunctionTransformers);
    feelEngine = feelEngineFactory.createInstance();
}
Also used : ArrayList(java.util.ArrayList) FeelToJuelFunctionTransformer(org.camunda.bpm.dmn.feel.impl.juel.transform.FeelToJuelFunctionTransformer) FeelEngineFactoryImpl(org.camunda.bpm.dmn.feel.impl.juel.FeelEngineFactoryImpl) Before(org.junit.Before)

Aggregations

ArrayList (java.util.ArrayList)1 FeelEngineFactoryImpl (org.camunda.bpm.dmn.feel.impl.juel.FeelEngineFactoryImpl)1 FeelToJuelFunctionTransformer (org.camunda.bpm.dmn.feel.impl.juel.transform.FeelToJuelFunctionTransformer)1 Before (org.junit.Before)1