Class FlowableCmmnSpringExtension
- java.lang.Object
-
- org.flowable.cmmn.engine.test.FlowableCmmnExtension
-
- org.flowable.cmmn.spring.impl.test.FlowableCmmnSpringExtension
-
- 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 FlowableCmmnSpringExtension extends FlowableCmmnExtension
An extension that usesSpringExtensionto get theCmmnEnginefrom theApplicationContextand make it available for theFlowableCmmnExtension.NB: The
CmmnConfigurationResourceis ignored as theCmmnEngineis taken from the Spring application context- Author:
- Filip Hrisafov
-
-
Field Summary
-
Fields inherited from class org.flowable.cmmn.engine.test.FlowableCmmnExtension
DEFAULT_CONFIGURATION_RESOURCE, logger
-
-
Constructor Summary
Constructors Constructor Description FlowableCmmnSpringExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CmmnEnginecreateCmmnEngine(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.cmmn.engine.test.FlowableCmmnExtension
afterEach, beforeEach, getConfigurationResource, getTestHelper, resolveParameter, supportsParameter
-
-
-
-
Method Detail
-
createCmmnEngine
protected CmmnEngine createCmmnEngine(org.junit.jupiter.api.extension.ExtensionContext context)
- Overrides:
createCmmnEnginein classFlowableCmmnExtension
-
getStore
protected org.junit.jupiter.api.extension.ExtensionContext.Store getStore(org.junit.jupiter.api.extension.ExtensionContext context)
- Overrides:
getStorein classFlowableCmmnExtension
-
-