Class DmnEngineConfiguration

java.lang.Object
org.camunda.bpm.dmn.engine.DmnEngineConfiguration
Direct Known Subclasses:
DefaultDmnEngineConfiguration

public abstract class DmnEngineConfiguration extends Object
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 Details

    • DmnEngineConfiguration

      public DmnEngineConfiguration()
  • Method Details

    • 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 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

      public abstract List<DmnDecisionEvaluationListener> 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:
      decisionEvaluationListeners - 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

      public abstract List<DmnDecisionEvaluationListener> 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

      public abstract DmnEngine buildEngine()
      Create a DmnEngine with this configuration
      Returns:
      the created DmnEngine