Class DmnEngineConfigurationBuilder
- java.lang.Object
-
- org.camunda.bpm.engine.impl.dmn.configuration.DmnEngineConfigurationBuilder
-
public class DmnEngineConfigurationBuilder extends 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 ElProvider
elProvider
protected 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 List<DmnDecisionEvaluationListener>
createCustomPostDecisionEvaluationListeners()
DmnEngineConfigurationBuilder
dmnHistoryEventProducer(DmnHistoryEventProducer dmnHistoryEventProducer)
DmnEngineConfigurationBuilder
elProvider(ElProvider elProvider)
DmnEngineConfigurationBuilder
enableFeelLegacyBehavior(boolean dmnFeelEnableLegacyBehavior)
DmnEngineConfigurationBuilder
feelCustomFunctionProviders(List<FeelCustomFunctionProvider> feelCustomFunctionProviders)
DmnEngineConfigurationBuilder
scriptEngineResolver(DmnScriptEngineResolver scriptEngineResolver)
-
-
-
Field Detail
-
dmnEngineConfiguration
protected final DefaultDmnEngineConfiguration dmnEngineConfiguration
-
dmnHistoryEventProducer
protected DmnHistoryEventProducer dmnHistoryEventProducer
-
scriptEngineResolver
protected DmnScriptEngineResolver scriptEngineResolver
-
elProvider
protected ElProvider elProvider
-
feelCustomFunctionProviders
protected 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)
-
elProvider
public DmnEngineConfigurationBuilder elProvider(ElProvider elProvider)
-
feelCustomFunctionProviders
public DmnEngineConfigurationBuilder feelCustomFunctionProviders(List<FeelCustomFunctionProvider> feelCustomFunctionProviders)
-
build
public DefaultDmnEngineConfiguration build()
Modify the given DMN engine configuration and return it.
-
createCustomPostDecisionEvaluationListeners
protected List<DmnDecisionEvaluationListener> createCustomPostDecisionEvaluationListeners()
-
enableFeelLegacyBehavior
public DmnEngineConfigurationBuilder enableFeelLegacyBehavior(boolean dmnFeelEnableLegacyBehavior)
-
-