Package org.camunda.bpm.dmn.engine
Class DmnEngineConfiguration
java.lang.Object
org.camunda.bpm.dmn.engine.DmnEngineConfiguration
- Direct Known Subclasses:
DefaultDmnEngineConfiguration
The configuration of a
DmnEngine
. It can be used
to build a new engine using buildEngine()
.
To create a new default DMN engine configuration the
method createDefaultDmnEngineConfiguration()
can be used.
Please be aware that changes to the configuration can also influence the behavior of engines which were already created by this configuration instance.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract DmnEngine
Create aDmnEngine
with this configurationstatic DmnEngineConfiguration
abstract DmnEngineConfiguration
customPostDecisionEvaluationListeners
(List<DmnDecisionEvaluationListener> decisionEvaluationListeners) Set the list of post decision evaluation listeners.abstract DmnEngineConfiguration
customPostDecisionTableEvaluationListeners
(List<DmnDecisionTableEvaluationListener> decisionTableEvaluationListeners) Set the list of post decision table evaluation listeners.abstract DmnEngineConfiguration
customPreDecisionEvaluationListeners
(List<DmnDecisionEvaluationListener> decisionEvaluationListeners) Set the list of pre decision evaluation listeners.abstract DmnEngineConfiguration
customPreDecisionTableEvaluationListeners
(List<DmnDecisionTableEvaluationListener> decisionTableEvaluationListeners) Set the list of pre decision table evaluation listeners.abstract DmnEngineConfiguration
engineMetricCollector
(DmnEngineMetricCollector engineMetricCollector) Set the engine metric collectorabstract List<DmnDecisionEvaluationListener>
abstract List<DmnDecisionTableEvaluationListener>
abstract List<DmnDecisionEvaluationListener>
abstract List<DmnDecisionTableEvaluationListener>
abstract DmnEngineMetricCollector
abstract void
setCustomPostDecisionEvaluationListeners
(List<DmnDecisionEvaluationListener> decisionEvaluationListeners) Set the list of post decision evaluation listeners.abstract void
setCustomPostDecisionTableEvaluationListeners
(List<DmnDecisionTableEvaluationListener> decisionTableEvaluationListeners) Set the list of post decision table evaluation listeners.abstract void
setCustomPreDecisionEvaluationListeners
(List<DmnDecisionEvaluationListener> decisionEvaluationListeners) Set the list of pre decision evaluation listeners.abstract void
setCustomPreDecisionTableEvaluationListeners
(List<DmnDecisionTableEvaluationListener> decisionTableEvaluationListeners) Set the list of pre decision table evaluation listeners.abstract void
setEngineMetricCollector
(DmnEngineMetricCollector engineMetricCollector) Set the engine metric collector
-
Constructor Details
-
DmnEngineConfiguration
public DmnEngineConfiguration()
-
-
Method Details
-
createDefaultDmnEngineConfiguration
- Returns:
- a new default dmn engine configuration
-
getEngineMetricCollector
- Returns:
- the configured engine metric collector
-
setEngineMetricCollector
Set the engine metric collector- Parameters:
engineMetricCollector
- the engine metric collector to use
-
engineMetricCollector
public abstract DmnEngineConfiguration engineMetricCollector(DmnEngineMetricCollector engineMetricCollector) Set the engine metric collector- Parameters:
engineMetricCollector
- the engine metric collector to use- Returns:
- this configuration
-
getCustomPreDecisionTableEvaluationListeners
public abstract List<DmnDecisionTableEvaluationListener> getCustomPreDecisionTableEvaluationListeners()- Returns:
- the list of custom pre decision table evaluation listeners
-
setCustomPreDecisionTableEvaluationListeners
public abstract void setCustomPreDecisionTableEvaluationListeners(List<DmnDecisionTableEvaluationListener> decisionTableEvaluationListeners) Set the list of pre decision table evaluation listeners. They will be notified before the default decision table evaluation listeners.- Parameters:
decisionTableEvaluationListeners
- the list of pre decision table evaluation listeners
-
customPreDecisionTableEvaluationListeners
public abstract DmnEngineConfiguration customPreDecisionTableEvaluationListeners(List<DmnDecisionTableEvaluationListener> decisionTableEvaluationListeners) Set the list of pre decision table evaluation listeners. They will be notified before the default decision table evaluation listeners.- Parameters:
decisionTableEvaluationListeners
- the list of pre decision table evaluation listeners- Returns:
- this configuration
-
getCustomPostDecisionTableEvaluationListeners
public abstract List<DmnDecisionTableEvaluationListener> getCustomPostDecisionTableEvaluationListeners()- Returns:
- the list of custom post decision table evaluation listeners
-
setCustomPostDecisionTableEvaluationListeners
public abstract void setCustomPostDecisionTableEvaluationListeners(List<DmnDecisionTableEvaluationListener> decisionTableEvaluationListeners) Set the list of post decision table evaluation listeners. They will be notified after the default decision table evaluation listeners.- Parameters:
decisionTableEvaluationListeners
- the list of post decision table evaluation listeners
-
customPostDecisionTableEvaluationListeners
public abstract DmnEngineConfiguration customPostDecisionTableEvaluationListeners(List<DmnDecisionTableEvaluationListener> decisionTableEvaluationListeners) Set the list of post decision table evaluation listeners. They will be notified after the default decision table evaluation listeners.- Parameters:
decisionTableEvaluationListeners
- the list of post decision table evaluation listeners- Returns:
- this configuration
-
getCustomPreDecisionEvaluationListeners
- Returns:
- the list of custom pre decision evaluation listeners
-
setCustomPreDecisionEvaluationListeners
public abstract void setCustomPreDecisionEvaluationListeners(List<DmnDecisionEvaluationListener> decisionEvaluationListeners) Set the list of pre decision evaluation listeners. They will be notified before the default decision evaluation listeners.- Parameters:
decisionTableEvaluationListeners
- the list of pre decision table evaluation listeners
-
customPreDecisionEvaluationListeners
public abstract DmnEngineConfiguration customPreDecisionEvaluationListeners(List<DmnDecisionEvaluationListener> decisionEvaluationListeners) Set the list of pre decision evaluation listeners. They will be notified before the default decision evaluation listeners.- Parameters:
decisionEvaluationListeners
- the list of pre decision evaluation listeners- Returns:
- this configuration
-
getCustomPostDecisionEvaluationListeners
- Returns:
- the list of custom post decision evaluation listeners
-
setCustomPostDecisionEvaluationListeners
public abstract void setCustomPostDecisionEvaluationListeners(List<DmnDecisionEvaluationListener> decisionEvaluationListeners) Set the list of post decision evaluation listeners. They will be notified after the default decision evaluation listeners.- Parameters:
decisionEvaluationListeners
- the list of post decision table evaluation listeners
-
customPostDecisionEvaluationListeners
public abstract DmnEngineConfiguration customPostDecisionEvaluationListeners(List<DmnDecisionEvaluationListener> decisionEvaluationListeners) Set the list of post decision evaluation listeners. They will be notified after the default decision evaluation listeners.- Parameters:
decisionTableEvaluationListeners
- the list of post decision evaluation listeners- Returns:
- this configuration
-
buildEngine
Create aDmnEngine
with this configuration- Returns:
- the created
DmnEngine
-