Class FlowableDmnSpringExtension

java.lang.Object
org.flowable.dmn.engine.test.FlowableDmnExtension
org.flowable.dmn.spring.impl.test.FlowableDmnSpringExtension
All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterEachCallback, org.junit.jupiter.api.extension.BeforeEachCallback, org.junit.jupiter.api.extension.Extension, org.junit.jupiter.api.extension.ParameterResolver

public class FlowableDmnSpringExtension extends FlowableDmnExtension
An extension that uses SpringExtension to get the DmnEngine from the ApplicationContext and make it available for the FlowableDmnExtension.

NB: The DmnConfigurationResource is ignored as the DmnEngine is taken from the Spring application context

Author:
Filip Hrisafov
  • Constructor Details

    • FlowableDmnSpringExtension

      public FlowableDmnSpringExtension()
  • Method Details

    • createDmnEngine

      protected DmnEngine createDmnEngine(org.junit.jupiter.api.extension.ExtensionContext context)
      Overrides:
      createDmnEngine in class FlowableDmnExtension
    • getStore

      protected org.junit.jupiter.api.extension.ExtensionContext.Store getStore(org.junit.jupiter.api.extension.ExtensionContext context)
      Overrides:
      getStore in class FlowableDmnExtension