Package org.camunda.bpm.dmn.engine
Class DmnEngineConfiguration
- java.lang.Object
-
- org.camunda.bpm.dmn.engine.DmnEngineConfiguration
-
- Direct Known Subclasses:
DefaultDmnEngineConfiguration
public abstract class DmnEngineConfiguration extends java.lang.Object
The configuration of aDmnEngine
. It can be used to build a new engine usingbuildEngine()
.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
Constructors Constructor Description DmnEngineConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract DmnEngine
buildEngine()
Create aDmnEngine
with this configurationstatic DmnEngineConfiguration
createDefaultDmnEngineConfiguration()
abstract DmnEngineConfiguration
customPostDecisionEvaluationListeners(java.util.List<DmnDecisionEvaluationListener> decisionEvaluationListeners)
Set the list of post decision evaluation listeners.abstract DmnEngineConfiguration
customPostDecisionTableEvaluationListeners(java.util.List<DmnDecisionTableEvaluationListener> decisionTableEvaluationListeners)
Set the list of post decision table evaluation listeners.abstract DmnEngineConfiguration
customPreDecisionEvaluationListeners(java.util.List<DmnDecisionEvaluationListener> decisionEvaluationListeners)
Set the list of pre decision evaluation listeners.abstract DmnEngineConfiguration
customPreDecisionTableEvaluationListeners(java.util.List<DmnDecisionTableEvaluationListener> decisionTableEvaluationListeners)
Set the list of pre decision table evaluation listeners.abstract DmnEngineConfiguration
engineMetricCollector(DmnEngineMetricCollector engineMetricCollector)
Set the engine metric collectorabstract java.util.List<DmnDecisionEvaluationListener>
getCustomPostDecisionEvaluationListeners()
abstract java.util.List<DmnDecisionTableEvaluationListener>
getCustomPostDecisionTableEvaluationListeners()
abstract java.util.List<DmnDecisionEvaluationListener>
getCustomPreDecisionEvaluationListeners()
abstract java.util.List<DmnDecisionTableEvaluationListener>
getCustomPreDecisionTableEvaluationListeners()
abstract DmnEngineMetricCollector
getEngineMetricCollector()
abstract void
setCustomPostDecisionEvaluationListeners(java.util.List<DmnDecisionEvaluationListener> decisionEvaluationListeners)
Set the list of post decision evaluation listeners.abstract void
setCustomPostDecisionTableEvaluationListeners(java.util.List<DmnDecisionTableEvaluationListener> decisionTableEvaluationListeners)
Set the list of post decision table evaluation listeners.abstract void
setCustomPreDecisionEvaluationListeners(java.util.List<DmnDecisionEvaluationListener> decisionEvaluationListeners)
Set the list of pre decision evaluation listeners.abstract void
setCustomPreDecisionTableEvaluationListeners(java.util.List<DmnDecisionTableEvaluationListener> decisionTableEvaluationListeners)
Set the list of pre decision table evaluation listeners.abstract void
setEngineMetricCollector(DmnEngineMetricCollector engineMetricCollector)
Set the engine metric collector
-
-
-
Method Detail
-
createDefaultDmnEngineConfiguration
public static DmnEngineConfiguration createDefaultDmnEngineConfiguration()
- Returns:
- a new default dmn engine configuration
-
getEngineMetricCollector
public abstract DmnEngineMetricCollector getEngineMetricCollector()
- Returns:
- the configured engine metric collector
-
setEngineMetricCollector
public abstract void setEngineMetricCollector(DmnEngineMetricCollector engineMetricCollector)
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 java.util.List<DmnDecisionTableEvaluationListener> getCustomPreDecisionTableEvaluationListeners()
- Returns:
- the list of custom pre decision table evaluation listeners
-
setCustomPreDecisionTableEvaluationListeners
public abstract void setCustomPreDecisionTableEvaluationListeners(java.util.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(java.util.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 java.util.List<DmnDecisionTableEvaluationListener> getCustomPostDecisionTableEvaluationListeners()
- Returns:
- the list of custom post decision table evaluation listeners
-
setCustomPostDecisionTableEvaluationListeners
public abstract void setCustomPostDecisionTableEvaluationListeners(java.util.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(java.util.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
public abstract java.util.List<DmnDecisionEvaluationListener> getCustomPreDecisionEvaluationListeners()
- Returns:
- the list of custom pre decision evaluation listeners
-
setCustomPreDecisionEvaluationListeners
public abstract void setCustomPreDecisionEvaluationListeners(java.util.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(java.util.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
public abstract java.util.List<DmnDecisionEvaluationListener> getCustomPostDecisionEvaluationListeners()
- Returns:
- the list of custom post decision evaluation listeners
-
setCustomPostDecisionEvaluationListeners
public abstract void setCustomPostDecisionEvaluationListeners(java.util.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(java.util.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
-
-