Class DmnEngineConfiguration

  • Direct Known Subclasses:
    DefaultDmnEngineConfiguration

    public abstract class DmnEngineConfiguration
    extends java.lang.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 Detail

      • DmnEngineConfiguration

        public DmnEngineConfiguration()
    • 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