Package org.camunda.bpm.dmn.engine.impl
Class DefaultDmnEngineConfiguration
- java.lang.Object
-
- org.camunda.bpm.dmn.engine.DmnEngineConfiguration
-
- org.camunda.bpm.dmn.engine.impl.DefaultDmnEngineConfiguration
-
public class DefaultDmnEngineConfiguration extends DmnEngineConfiguration
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DefaultDmnEngineConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DmnEngine
buildEngine()
Create aDmnEngine
with this configurationDefaultDmnEngineConfiguration
customPostDecisionEvaluationListeners(java.util.List<DmnDecisionEvaluationListener> decisionEvaluationListeners)
Set the list of post decision evaluation listeners.DefaultDmnEngineConfiguration
customPostDecisionTableEvaluationListeners(java.util.List<DmnDecisionTableEvaluationListener> decisionTableEvaluationListeners)
Set the list of post decision table evaluation listeners.DefaultDmnEngineConfiguration
customPreDecisionEvaluationListeners(java.util.List<DmnDecisionEvaluationListener> decisionEvaluationListeners)
Set the list of pre decision evaluation listeners.DefaultDmnEngineConfiguration
customPreDecisionTableEvaluationListeners(java.util.List<DmnDecisionTableEvaluationListener> decisionTableEvaluationListeners)
Set the list of pre decision table evaluation listeners.DefaultDmnEngineConfiguration
defaultInputEntryExpressionLanguage(java.lang.String expressionLanguage)
Set the default expression language which is used to evaluate input entries.DefaultDmnEngineConfiguration
defaultInputExpressionExpressionLanguage(java.lang.String expressionLanguage)
Set the default expression language which is used to evaluate input expressions.DefaultDmnEngineConfiguration
defaultLiteralExpressionLanguage(java.lang.String expressionLanguage)
Set the default expression language which is used to evaluate literal expressions.DefaultDmnEngineConfiguration
defaultOutputEntryExpressionLanguage(java.lang.String expressionLanguage)
Set the default expression language which is used to evaluate output entries.DefaultDmnEngineConfiguration
elProvider(ElProvider elProvider)
Set the el provider which is used by the engine to evaluate an el expression.DefaultDmnEngineConfiguration
enableFeelLegacyBehavior(boolean enableFeelLegacyBehavior)
Controls whether the FEEL legacy behavior is enabled or notDefaultDmnEngineConfiguration
engineMetricCollector(DmnEngineMetricCollector engineMetricCollector)
Set the engine metric collectorDefaultDmnEngineConfiguration
feelCustomFunctionProviders(java.util.List<FeelCustomFunctionProvider> feelCustomFunctionProviders)
Set a list of FEEL Custom Function Providers.DefaultDmnEngineConfiguration
feelEngineFactory(FeelEngineFactory feelEngineFactory)
Set the factory to create aFeelEngine
java.util.List<DmnDecisionEvaluationListener>
getCustomPostDecisionEvaluationListeners()
java.util.List<DmnDecisionTableEvaluationListener>
getCustomPostDecisionTableEvaluationListeners()
java.util.List<DmnDecisionEvaluationListener>
getCustomPreDecisionEvaluationListeners()
java.util.List<DmnDecisionTableEvaluationListener>
getCustomPreDecisionTableEvaluationListeners()
java.util.List<DmnDecisionEvaluationListener>
getDecisionEvaluationListeners()
The list of decision evaluation listeners of the configuration.java.util.List<DmnDecisionTableEvaluationListener>
getDecisionTableEvaluationListeners()
The list of decision table evaluation listeners of the configuration.protected java.util.Collection<? extends DmnDecisionEvaluationListener>
getDefaultDmnDecisionEvaluationListeners()
java.lang.String
getDefaultInputEntryExpressionLanguage()
java.lang.String
getDefaultInputExpressionExpressionLanguage()
java.lang.String
getDefaultLiteralExpressionLanguage()
java.lang.String
getDefaultOutputEntryExpressionLanguage()
ElProvider
getElProvider()
DmnEngineMetricCollector
getEngineMetricCollector()
java.util.List<FeelCustomFunctionProvider>
getFeelCustomFunctionProviders()
FeelEngine
getFeelEngine()
The feel engine used by the engine.FeelEngineFactory
getFeelEngineFactory()
DmnScriptEngineResolver
getScriptEngineResolver()
DmnTransformer
getTransformer()
void
init()
protected void
initDecisionEvaluationListener()
protected void
initDecisionTableEvaluationListener()
void
initElDefaults()
protected void
initElProvider()
protected void
initFeelEngine()
protected void
initMetricCollector()
protected void
initScriptEngineResolver()
boolean
isEnableFeelLegacyBehavior()
boolean
isReturnBlankTableOutputAsNull()
DefaultDmnEngineConfiguration
scriptEngineResolver(DmnScriptEngineResolver scriptEngineResolver)
Set the script engine resolver which is used by the engine to get an instance of a script engine to evaluated expressions.void
setCustomPostDecisionEvaluationListeners(java.util.List<DmnDecisionEvaluationListener> decisionEvaluationListeners)
Set the list of post decision evaluation listeners.void
setCustomPostDecisionTableEvaluationListeners(java.util.List<DmnDecisionTableEvaluationListener> decisionTableEvaluationListeners)
Set the list of post decision table evaluation listeners.void
setCustomPreDecisionEvaluationListeners(java.util.List<DmnDecisionEvaluationListener> decisionEvaluationListeners)
Set the list of pre decision evaluation listeners.void
setCustomPreDecisionTableEvaluationListeners(java.util.List<DmnDecisionTableEvaluationListener> decisionTableEvaluationListeners)
Set the list of pre decision table evaluation listeners.void
setDefaultInputEntryExpressionLanguage(java.lang.String expressionLanguage)
Set the default expression language which is used to evaluate input entries.void
setDefaultInputExpressionExpressionLanguage(java.lang.String expressionLanguage)
Set the default expression language which is used to evaluate input expressions.void
setDefaultLiteralExpressionLanguage(java.lang.String expressionLanguage)
Set the default expression language which is used to evaluate literal expressions.void
setDefaultOutputEntryExpressionLanguage(java.lang.String expressionLanguage)
Set the default expression language which is used to evaluate output entries.void
setElProvider(ElProvider elProvider)
Set the el provider which is used by the engine to evaluate an el expression.void
setEnableFeelLegacyBehavior(boolean enableFeelLegacyBehavior)
Controls whether the FEEL legacy behavior is enabled or notvoid
setEngineMetricCollector(DmnEngineMetricCollector engineMetricCollector)
Set the engine metric collectorvoid
setFeelCustomFunctionProviders(java.util.List<FeelCustomFunctionProvider> feelCustomFunctionProviders)
Set a list of FEEL Custom Function Providers.void
setFeelEngineFactory(FeelEngineFactory feelEngineFactory)
Set the factory to create aFeelEngine
DefaultDmnEngineConfiguration
setReturnBlankTableOutputAsNull(boolean returnBlankTableOutputAsNull)
Controls whether blank table outputs are swallowed or returned asnull
.void
setScriptEngineResolver(DmnScriptEngineResolver scriptEngineResolver)
Set the script engine resolver which is used by the engine to get an instance of a script engine to evaluated expressions.void
setTransformer(DmnTransformer transformer)
Set the DMN transformer used to transform the DMN model.DefaultDmnEngineConfiguration
transformer(DmnTransformer transformer)
Set the DMN transformer used to transform the DMN model.-
Methods inherited from class org.camunda.bpm.dmn.engine.DmnEngineConfiguration
createDefaultDmnEngineConfiguration
-
-
-
-
Field Detail
-
FEEL_EXPRESSION_LANGUAGE
public static final java.lang.String FEEL_EXPRESSION_LANGUAGE
- See Also:
- Constant Field Values
-
FEEL_EXPRESSION_LANGUAGE_ALTERNATIVE
public static final java.lang.String FEEL_EXPRESSION_LANGUAGE_ALTERNATIVE
- See Also:
- Constant Field Values
-
FEEL_EXPRESSION_LANGUAGE_DMN12
public static final java.lang.String FEEL_EXPRESSION_LANGUAGE_DMN12
- See Also:
- Constant Field Values
-
FEEL_EXPRESSION_LANGUAGE_DMN13
public static final java.lang.String FEEL_EXPRESSION_LANGUAGE_DMN13
- See Also:
- Constant Field Values
-
FEEL_EXPRESSION_LANGUAGE_DMN14
public static final java.lang.String FEEL_EXPRESSION_LANGUAGE_DMN14
- See Also:
- Constant Field Values
-
FEEL_EXPRESSION_LANGUAGE_DMN15
public static final java.lang.String FEEL_EXPRESSION_LANGUAGE_DMN15
- See Also:
- Constant Field Values
-
JUEL_EXPRESSION_LANGUAGE
public static final java.lang.String JUEL_EXPRESSION_LANGUAGE
- See Also:
- Constant Field Values
-
engineMetricCollector
protected DmnEngineMetricCollector engineMetricCollector
-
customPreDecisionTableEvaluationListeners
protected java.util.List<DmnDecisionTableEvaluationListener> customPreDecisionTableEvaluationListeners
-
customPostDecisionTableEvaluationListeners
protected java.util.List<DmnDecisionTableEvaluationListener> customPostDecisionTableEvaluationListeners
-
decisionTableEvaluationListeners
protected java.util.List<DmnDecisionTableEvaluationListener> decisionTableEvaluationListeners
-
decisionEvaluationListeners
protected java.util.List<DmnDecisionEvaluationListener> decisionEvaluationListeners
-
customPreDecisionEvaluationListeners
protected java.util.List<DmnDecisionEvaluationListener> customPreDecisionEvaluationListeners
-
customPostDecisionEvaluationListeners
protected java.util.List<DmnDecisionEvaluationListener> customPostDecisionEvaluationListeners
-
scriptEngineResolver
protected DmnScriptEngineResolver scriptEngineResolver
-
elProvider
protected ElProvider elProvider
-
feelEngineFactory
protected FeelEngineFactory feelEngineFactory
-
feelEngine
protected FeelEngine feelEngine
-
feelCustomFunctionProviders
protected java.util.List<FeelCustomFunctionProvider> feelCustomFunctionProviders
a list of DMN FEEL custom function providers
-
enableFeelLegacyBehavior
protected boolean enableFeelLegacyBehavior
Enable FEEL legacy behavior
-
defaultInputExpressionExpressionLanguage
protected java.lang.String defaultInputExpressionExpressionLanguage
-
defaultInputEntryExpressionLanguage
protected java.lang.String defaultInputEntryExpressionLanguage
-
defaultOutputEntryExpressionLanguage
protected java.lang.String defaultOutputEntryExpressionLanguage
-
defaultLiteralExpressionLanguage
protected java.lang.String defaultLiteralExpressionLanguage
-
transformer
protected DmnTransformer transformer
-
returnBlankTableOutputAsNull
protected boolean returnBlankTableOutputAsNull
-
-
Method Detail
-
buildEngine
public DmnEngine buildEngine()
Description copied from class:DmnEngineConfiguration
Create aDmnEngine
with this configuration- Specified by:
buildEngine
in classDmnEngineConfiguration
- Returns:
- the created
DmnEngine
-
init
public void init()
-
initElDefaults
public void initElDefaults()
-
initMetricCollector
protected void initMetricCollector()
-
initDecisionTableEvaluationListener
protected void initDecisionTableEvaluationListener()
-
initDecisionEvaluationListener
protected void initDecisionEvaluationListener()
-
getDefaultDmnDecisionEvaluationListeners
protected java.util.Collection<? extends DmnDecisionEvaluationListener> getDefaultDmnDecisionEvaluationListeners()
-
initElProvider
protected void initElProvider()
-
initScriptEngineResolver
protected void initScriptEngineResolver()
-
initFeelEngine
protected void initFeelEngine()
-
getEngineMetricCollector
public DmnEngineMetricCollector getEngineMetricCollector()
- Specified by:
getEngineMetricCollector
in classDmnEngineConfiguration
- Returns:
- the configured engine metric collector
-
setEngineMetricCollector
public void setEngineMetricCollector(DmnEngineMetricCollector engineMetricCollector)
Description copied from class:DmnEngineConfiguration
Set the engine metric collector- Specified by:
setEngineMetricCollector
in classDmnEngineConfiguration
- Parameters:
engineMetricCollector
- the engine metric collector to use
-
engineMetricCollector
public DefaultDmnEngineConfiguration engineMetricCollector(DmnEngineMetricCollector engineMetricCollector)
Description copied from class:DmnEngineConfiguration
Set the engine metric collector- Specified by:
engineMetricCollector
in classDmnEngineConfiguration
- Parameters:
engineMetricCollector
- the engine metric collector to use- Returns:
- this configuration
-
getCustomPreDecisionTableEvaluationListeners
public java.util.List<DmnDecisionTableEvaluationListener> getCustomPreDecisionTableEvaluationListeners()
- Specified by:
getCustomPreDecisionTableEvaluationListeners
in classDmnEngineConfiguration
- Returns:
- the list of custom pre decision table evaluation listeners
-
setCustomPreDecisionTableEvaluationListeners
public void setCustomPreDecisionTableEvaluationListeners(java.util.List<DmnDecisionTableEvaluationListener> decisionTableEvaluationListeners)
Description copied from class:DmnEngineConfiguration
Set the list of pre decision table evaluation listeners. They will be notified before the default decision table evaluation listeners.- Specified by:
setCustomPreDecisionTableEvaluationListeners
in classDmnEngineConfiguration
- Parameters:
decisionTableEvaluationListeners
- the list of pre decision table evaluation listeners
-
customPreDecisionTableEvaluationListeners
public DefaultDmnEngineConfiguration customPreDecisionTableEvaluationListeners(java.util.List<DmnDecisionTableEvaluationListener> decisionTableEvaluationListeners)
Description copied from class:DmnEngineConfiguration
Set the list of pre decision table evaluation listeners. They will be notified before the default decision table evaluation listeners.- Specified by:
customPreDecisionTableEvaluationListeners
in classDmnEngineConfiguration
- Parameters:
decisionTableEvaluationListeners
- the list of pre decision table evaluation listeners- Returns:
- this configuration
-
getCustomPostDecisionTableEvaluationListeners
public java.util.List<DmnDecisionTableEvaluationListener> getCustomPostDecisionTableEvaluationListeners()
- Specified by:
getCustomPostDecisionTableEvaluationListeners
in classDmnEngineConfiguration
- Returns:
- the list of custom post decision table evaluation listeners
-
setCustomPostDecisionTableEvaluationListeners
public void setCustomPostDecisionTableEvaluationListeners(java.util.List<DmnDecisionTableEvaluationListener> decisionTableEvaluationListeners)
Description copied from class:DmnEngineConfiguration
Set the list of post decision table evaluation listeners. They will be notified after the default decision table evaluation listeners.- Specified by:
setCustomPostDecisionTableEvaluationListeners
in classDmnEngineConfiguration
- Parameters:
decisionTableEvaluationListeners
- the list of post decision table evaluation listeners
-
customPostDecisionTableEvaluationListeners
public DefaultDmnEngineConfiguration customPostDecisionTableEvaluationListeners(java.util.List<DmnDecisionTableEvaluationListener> decisionTableEvaluationListeners)
Description copied from class:DmnEngineConfiguration
Set the list of post decision table evaluation listeners. They will be notified after the default decision table evaluation listeners.- Specified by:
customPostDecisionTableEvaluationListeners
in classDmnEngineConfiguration
- Parameters:
decisionTableEvaluationListeners
- the list of post decision table evaluation listeners- Returns:
- this configuration
-
getCustomPreDecisionEvaluationListeners
public java.util.List<DmnDecisionEvaluationListener> getCustomPreDecisionEvaluationListeners()
- Specified by:
getCustomPreDecisionEvaluationListeners
in classDmnEngineConfiguration
- Returns:
- the list of custom pre decision evaluation listeners
-
setCustomPreDecisionEvaluationListeners
public void setCustomPreDecisionEvaluationListeners(java.util.List<DmnDecisionEvaluationListener> decisionEvaluationListeners)
Description copied from class:DmnEngineConfiguration
Set the list of pre decision evaluation listeners. They will be notified before the default decision evaluation listeners.- Specified by:
setCustomPreDecisionEvaluationListeners
in classDmnEngineConfiguration
-
customPreDecisionEvaluationListeners
public DefaultDmnEngineConfiguration customPreDecisionEvaluationListeners(java.util.List<DmnDecisionEvaluationListener> decisionEvaluationListeners)
Description copied from class:DmnEngineConfiguration
Set the list of pre decision evaluation listeners. They will be notified before the default decision evaluation listeners.- Specified by:
customPreDecisionEvaluationListeners
in classDmnEngineConfiguration
- Parameters:
decisionEvaluationListeners
- the list of pre decision evaluation listeners- Returns:
- this configuration
-
getCustomPostDecisionEvaluationListeners
public java.util.List<DmnDecisionEvaluationListener> getCustomPostDecisionEvaluationListeners()
- Specified by:
getCustomPostDecisionEvaluationListeners
in classDmnEngineConfiguration
- Returns:
- the list of custom post decision evaluation listeners
-
setCustomPostDecisionEvaluationListeners
public void setCustomPostDecisionEvaluationListeners(java.util.List<DmnDecisionEvaluationListener> decisionEvaluationListeners)
Description copied from class:DmnEngineConfiguration
Set the list of post decision evaluation listeners. They will be notified after the default decision evaluation listeners.- Specified by:
setCustomPostDecisionEvaluationListeners
in classDmnEngineConfiguration
- Parameters:
decisionEvaluationListeners
- the list of post decision table evaluation listeners
-
customPostDecisionEvaluationListeners
public DefaultDmnEngineConfiguration customPostDecisionEvaluationListeners(java.util.List<DmnDecisionEvaluationListener> decisionEvaluationListeners)
Description copied from class:DmnEngineConfiguration
Set the list of post decision evaluation listeners. They will be notified after the default decision evaluation listeners.- Specified by:
customPostDecisionEvaluationListeners
in classDmnEngineConfiguration
- Returns:
- this configuration
-
getDecisionTableEvaluationListeners
public java.util.List<DmnDecisionTableEvaluationListener> getDecisionTableEvaluationListeners()
The list of decision table evaluation listeners of the configuration. Contains the pre, default and post decision table evaluation listeners. Is set during the build of an engine.- Returns:
- the list of decision table evaluation listeners
-
getDecisionEvaluationListeners
public java.util.List<DmnDecisionEvaluationListener> getDecisionEvaluationListeners()
The list of decision evaluation listeners of the configuration. Contains the pre, default and post decision evaluation listeners. Is set during the build of an engine.- Returns:
- the list of decision table evaluation listeners
-
getScriptEngineResolver
public DmnScriptEngineResolver getScriptEngineResolver()
- Returns:
- the script engine resolver
-
setScriptEngineResolver
public void setScriptEngineResolver(DmnScriptEngineResolver scriptEngineResolver)
Set the script engine resolver which is used by the engine to get an instance of a script engine to evaluated expressions.- Parameters:
scriptEngineResolver
- the script engine resolver
-
scriptEngineResolver
public DefaultDmnEngineConfiguration scriptEngineResolver(DmnScriptEngineResolver scriptEngineResolver)
Set the script engine resolver which is used by the engine to get an instance of a script engine to evaluated expressions.- Parameters:
scriptEngineResolver
- the script engine resolver- Returns:
- this
-
getElProvider
public ElProvider getElProvider()
- Returns:
- the el provider
-
setElProvider
public void setElProvider(ElProvider elProvider)
Set the el provider which is used by the engine to evaluate an el expression.- Parameters:
elProvider
- the el provider
-
elProvider
public DefaultDmnEngineConfiguration elProvider(ElProvider elProvider)
Set the el provider which is used by the engine to evaluate an el expression.- Parameters:
elProvider
- the el provider- Returns:
- this
-
getFeelEngineFactory
public FeelEngineFactory getFeelEngineFactory()
- Returns:
- the factory is used to create a
FeelEngine
-
setFeelEngineFactory
public void setFeelEngineFactory(FeelEngineFactory feelEngineFactory)
Set the factory to create aFeelEngine
- Parameters:
feelEngineFactory
- the feel engine factory
-
feelEngineFactory
public DefaultDmnEngineConfiguration feelEngineFactory(FeelEngineFactory feelEngineFactory)
Set the factory to create aFeelEngine
- Parameters:
feelEngineFactory
- the feel engine factory- Returns:
- this
-
getFeelEngine
public FeelEngine getFeelEngine()
The feel engine used by the engine. Is initialized during the build of the engine.- Returns:
- the feel engine
-
getDefaultInputExpressionExpressionLanguage
public java.lang.String getDefaultInputExpressionExpressionLanguage()
- Returns:
- the default expression language for input expressions
-
setDefaultInputExpressionExpressionLanguage
public void setDefaultInputExpressionExpressionLanguage(java.lang.String expressionLanguage)
Set the default expression language which is used to evaluate input expressions. It is used for all input expressions which do not have a expression language set.- Parameters:
expressionLanguage
- the default expression language for input expressions
-
defaultInputExpressionExpressionLanguage
public DefaultDmnEngineConfiguration defaultInputExpressionExpressionLanguage(java.lang.String expressionLanguage)
Set the default expression language which is used to evaluate input expressions. It is used for all input expressions which do not have a expression language set.- Parameters:
expressionLanguage
- the default expression language for input expressions- Returns:
- this configuration
-
getDefaultInputEntryExpressionLanguage
public java.lang.String getDefaultInputEntryExpressionLanguage()
- Returns:
- the default expression language for input entries
-
setDefaultInputEntryExpressionLanguage
public void setDefaultInputEntryExpressionLanguage(java.lang.String expressionLanguage)
Set the default expression language which is used to evaluate input entries. It is used for all input entries which do not have a expression language set.- Parameters:
expressionLanguage
- the default expression language for input entries
-
defaultInputEntryExpressionLanguage
public DefaultDmnEngineConfiguration defaultInputEntryExpressionLanguage(java.lang.String expressionLanguage)
Set the default expression language which is used to evaluate input entries. It is used for all input entries which do not have a expression language set.- Parameters:
expressionLanguage
- the default expression language for input entries- Returns:
- this configuration
-
getDefaultOutputEntryExpressionLanguage
public java.lang.String getDefaultOutputEntryExpressionLanguage()
- Returns:
- the default expression language for output entries
-
setDefaultOutputEntryExpressionLanguage
public void setDefaultOutputEntryExpressionLanguage(java.lang.String expressionLanguage)
Set the default expression language which is used to evaluate output entries. It is used for all output entries which do not have a expression language set.- Parameters:
expressionLanguage
- the default expression language for output entries
-
defaultOutputEntryExpressionLanguage
public DefaultDmnEngineConfiguration defaultOutputEntryExpressionLanguage(java.lang.String expressionLanguage)
Set the default expression language which is used to evaluate output entries. It is used for all output entries which do not have a expression language set.- Parameters:
expressionLanguage
- the default expression language for output entries- Returns:
- this configuration
-
getDefaultLiteralExpressionLanguage
public java.lang.String getDefaultLiteralExpressionLanguage()
- Returns:
- the default expression language for literal expressions
-
setDefaultLiteralExpressionLanguage
public void setDefaultLiteralExpressionLanguage(java.lang.String expressionLanguage)
Set the default expression language which is used to evaluate literal expressions. It is used for all literal expressions which do not have a expression language set.- Parameters:
expressionLanguage
- the default expression language for literal expressions
-
defaultLiteralExpressionLanguage
public DefaultDmnEngineConfiguration defaultLiteralExpressionLanguage(java.lang.String expressionLanguage)
Set the default expression language which is used to evaluate literal expressions. It is used for all literal expressions which do not have a expression language set.- Parameters:
expressionLanguage
- the default expression language for literal expressions- Returns:
- this configuration
-
getTransformer
public DmnTransformer getTransformer()
- Returns:
- the DMN transformer
-
setTransformer
public void setTransformer(DmnTransformer transformer)
Set the DMN transformer used to transform the DMN model.- Parameters:
transformer
- the DMN transformer
-
transformer
public DefaultDmnEngineConfiguration transformer(DmnTransformer transformer)
Set the DMN transformer used to transform the DMN model.- Parameters:
transformer
- the DMN transformer- Returns:
- this
-
getFeelCustomFunctionProviders
public java.util.List<FeelCustomFunctionProvider> getFeelCustomFunctionProviders()
- Returns:
- the list of FEEL Custom Function Providers
-
setFeelCustomFunctionProviders
public void setFeelCustomFunctionProviders(java.util.List<FeelCustomFunctionProvider> feelCustomFunctionProviders)
Set a list of FEEL Custom Function Providers.- Parameters:
feelCustomFunctionProviders
- a list of FEEL Custom Function Providers
-
feelCustomFunctionProviders
public DefaultDmnEngineConfiguration feelCustomFunctionProviders(java.util.List<FeelCustomFunctionProvider> feelCustomFunctionProviders)
Set a list of FEEL Custom Function Providers.- Parameters:
feelCustomFunctionProviders
- a list of FEEL Custom Function Providers- Returns:
- this
-
isEnableFeelLegacyBehavior
public boolean isEnableFeelLegacyBehavior()
- Returns:
- whether FEEL legacy behavior is enabled or not
-
setEnableFeelLegacyBehavior
public void setEnableFeelLegacyBehavior(boolean enableFeelLegacyBehavior)
Controls whether the FEEL legacy behavior is enabled or not- Parameters:
enableFeelLegacyBehavior
- the FEEL legacy behavior
-
enableFeelLegacyBehavior
public DefaultDmnEngineConfiguration enableFeelLegacyBehavior(boolean enableFeelLegacyBehavior)
Controls whether the FEEL legacy behavior is enabled or not- Parameters:
enableFeelLegacyBehavior
- the FEEL legacy behavior- Returns:
- this
-
isReturnBlankTableOutputAsNull
public boolean isReturnBlankTableOutputAsNull()
- Returns:
- whether blank table outputs are swallowed or returned as
null
.
-
setReturnBlankTableOutputAsNull
public DefaultDmnEngineConfiguration setReturnBlankTableOutputAsNull(boolean returnBlankTableOutputAsNull)
Controls whether blank table outputs are swallowed or returned asnull
.- Parameters:
returnBlankTableOutputAsNull
- toggles whether blank table outputs are swallowed or returned asnull
.- Returns:
- this
-
-