Package org.flowable.form.spring.test
Class FlowableFormSpringExtension
- java.lang.Object
-
- org.flowable.form.engine.test.FlowableFormExtension
-
- org.flowable.form.spring.test.FlowableFormSpringExtension
-
- 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 FlowableFormSpringExtension extends FlowableFormExtension
An extension that usesSpringExtensionto get theFormEnginefrom theApplicationContextand make it available for theFlowableFormExtension. NB: TheFormConfigurationResourceis ignored as theFormEngineis taken from the Spring application context- Author:
- Filip Hrisafov
-
-
Field Summary
-
Fields inherited from class org.flowable.form.engine.test.FlowableFormExtension
configurationResource, DEFAULT_CONFIGURATION_RESOURCE, logger
-
-
Constructor Summary
Constructors Constructor Description FlowableFormSpringExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FormEnginecreateFormEngine(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.form.engine.test.FlowableFormExtension
afterEach, beforeEach, getConfigurationResource, getTestHelper, resolveParameter, supportsParameter
-
-
-
-
Method Detail
-
createFormEngine
protected FormEngine createFormEngine(org.junit.jupiter.api.extension.ExtensionContext context)
- Overrides:
createFormEnginein classFlowableFormExtension
-
getStore
protected org.junit.jupiter.api.extension.ExtensionContext.Store getStore(org.junit.jupiter.api.extension.ExtensionContext context)
- Overrides:
getStorein classFlowableFormExtension
-
-