public class ResourceFlowableIdmExtension extends InternalFlowableIdmExtension
IdmEngine.
This extension needs to be registered via RegisterExtension. It additionally allows for
customizing the IdmEngineConfiguration
A new IdmEngine will be created for each test.| Modifier and Type | Field and Description |
|---|---|
protected Consumer<IdmEngineConfiguration> |
configurationConsumer |
protected String |
configurationResource |
protected String |
idmEngineName |
EMPTY_LINE, logger| Constructor and Description |
|---|
ResourceFlowableIdmExtension(String configurationResource,
Consumer<IdmEngineConfiguration> configurationConsumer) |
ResourceFlowableIdmExtension(String configurationResource,
String idmEngineName,
Consumer<IdmEngineConfiguration> configurationConsumer) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterEach(org.junit.jupiter.api.extension.ExtensionContext context) |
protected IdmEngine |
getIdmEngine(org.junit.jupiter.api.extension.ExtensionContext context) |
protected org.junit.jupiter.api.extension.ExtensionContext.Store |
getStore(org.junit.jupiter.api.extension.ExtensionContext context) |
protected IdmEngine |
initializeIdmEngine() |
afterAll, assertAndEnsureCleanDb, beforeEach, cleanTestAndAssertAndEnsureCleanDb, doFinally, resolveParameter, supportsParameterprotected final String configurationResource
protected final String idmEngineName
protected final Consumer<IdmEngineConfiguration> configurationConsumer
public ResourceFlowableIdmExtension(String configurationResource, Consumer<IdmEngineConfiguration> configurationConsumer)
public ResourceFlowableIdmExtension(String configurationResource, String idmEngineName, Consumer<IdmEngineConfiguration> configurationConsumer)
public void afterEach(org.junit.jupiter.api.extension.ExtensionContext context)
throws Exception
afterEach in interface org.junit.jupiter.api.extension.AfterEachCallbackafterEach in class InternalFlowableIdmExtensionExceptionprotected IdmEngine getIdmEngine(org.junit.jupiter.api.extension.ExtensionContext context)
getIdmEngine in class InternalFlowableIdmExtensionprotected IdmEngine initializeIdmEngine()
protected org.junit.jupiter.api.extension.ExtensionContext.Store getStore(org.junit.jupiter.api.extension.ExtensionContext context)
getStore in class InternalFlowableIdmExtensionCopyright © 2022 Flowable. All rights reserved.