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 usesSpringExtensionto get theDmnEnginefrom theApplicationContextand make it available for theFlowableDmnExtension.NB: The
DmnConfigurationResourceis ignored as theDmnEngineis taken from the Spring application context- Author:
- Filip Hrisafov
-
-
Field Summary
-
Fields inherited from class org.flowable.dmn.engine.test.FlowableDmnExtension
DEFAULT_CONFIGURATION_RESOURCE, logger
-
-
Constructor Summary
Constructors Constructor Description FlowableDmnSpringExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DmnEnginecreateDmnEngine(org.junit.jupiter.api.extension.ExtensionContext context)protected org.junit.jupiter.api.extension.ExtensionContext.StoregetStore(org.junit.jupiter.api.extension.ExtensionContext context)-
Methods inherited from class org.flowable.dmn.engine.test.FlowableDmnExtension
afterEach, beforeEach, getConfigurationResource, getTestHelper, resolveParameter, supportsParameter
-
-
-
-
Method Detail
-
createDmnEngine
protected DmnEngine createDmnEngine(org.junit.jupiter.api.extension.ExtensionContext context)
- Overrides:
createDmnEnginein classFlowableDmnExtension
-
getStore
protected org.junit.jupiter.api.extension.ExtensionContext.Store getStore(org.junit.jupiter.api.extension.ExtensionContext context)
- Overrides:
getStorein classFlowableDmnExtension
-
-