Class DmnEngineConfigurationBuilder
- java.lang.Object
-
- org.camunda.bpm.engine.impl.dmn.configuration.DmnEngineConfigurationBuilder
-
public class DmnEngineConfigurationBuilder extends java.lang.Object
Modify the given DMN engine configuration so that the DMN engine can be used from the process engine. Note that properties will not be overridden if they are set on the configuration, except the transform handler for the decision table.- Author:
- Philipp Ossler
-
-
Field Summary
Fields Modifier and Type Field Description protected DefaultDmnEngineConfiguration
dmnEngineConfiguration
protected DmnHistoryEventProducer
dmnHistoryEventProducer
protected ExpressionManager
expressionManager
protected java.util.List<FeelCustomFunctionProvider>
feelCustomFunctionProviders
protected DmnScriptEngineResolver
scriptEngineResolver
-
Constructor Summary
Constructors Constructor Description DmnEngineConfigurationBuilder(DefaultDmnEngineConfiguration dmnEngineConfiguration)
Creates a new builder to modify the given DMN engine configuration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultDmnEngineConfiguration
build()
Modify the given DMN engine configuration and return it.protected java.util.List<DmnDecisionEvaluationListener>
createCustomPostDecisionEvaluationListeners()
DmnEngineConfigurationBuilder
dmnHistoryEventProducer(DmnHistoryEventProducer dmnHistoryEventProducer)
DmnEngineConfigurationBuilder
enableFeelLegacyBehavior(boolean dmnFeelEnableLegacyBehavior)
DmnEngineConfigurationBuilder
expressionManager(ExpressionManager expressionManager)
DmnEngineConfigurationBuilder
feelCustomFunctionProviders(java.util.List<FeelCustomFunctionProvider> feelCustomFunctionProviders)
DmnEngineConfigurationBuilder
scriptEngineResolver(DmnScriptEngineResolver scriptEngineResolver)
-
-
-
Field Detail
-
dmnEngineConfiguration
protected final DefaultDmnEngineConfiguration dmnEngineConfiguration
-
dmnHistoryEventProducer
protected DmnHistoryEventProducer dmnHistoryEventProducer
-
scriptEngineResolver
protected DmnScriptEngineResolver scriptEngineResolver
-
expressionManager
protected ExpressionManager expressionManager
-
feelCustomFunctionProviders
protected java.util.List<FeelCustomFunctionProvider> feelCustomFunctionProviders
-
-
Constructor Detail
-
DmnEngineConfigurationBuilder
public DmnEngineConfigurationBuilder(DefaultDmnEngineConfiguration dmnEngineConfiguration)
Creates a new builder to modify the given DMN engine configuration.
-
-
Method Detail
-
dmnHistoryEventProducer
public DmnEngineConfigurationBuilder dmnHistoryEventProducer(DmnHistoryEventProducer dmnHistoryEventProducer)
-
scriptEngineResolver
public DmnEngineConfigurationBuilder scriptEngineResolver(DmnScriptEngineResolver scriptEngineResolver)
-
expressionManager
public DmnEngineConfigurationBuilder expressionManager(ExpressionManager expressionManager)
-
feelCustomFunctionProviders
public DmnEngineConfigurationBuilder feelCustomFunctionProviders(java.util.List<FeelCustomFunctionProvider> feelCustomFunctionProviders)
-
build
public DefaultDmnEngineConfiguration build()
Modify the given DMN engine configuration and return it.
-
createCustomPostDecisionEvaluationListeners
protected java.util.List<DmnDecisionEvaluationListener> createCustomPostDecisionEvaluationListeners()
-
enableFeelLegacyBehavior
public DmnEngineConfigurationBuilder enableFeelLegacyBehavior(boolean dmnFeelEnableLegacyBehavior)
-
-