Package org.flowable.engine.impl.test
Class PluggableFlowableExtension
java.lang.Object
org.flowable.engine.impl.test.InternalFlowableExtension
org.flowable.engine.impl.test.PluggableFlowableExtension
- All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterAllCallback
,org.junit.jupiter.api.extension.AfterEachCallback
,org.junit.jupiter.api.extension.BeforeEachCallback
,org.junit.jupiter.api.extension.Extension
,org.junit.jupiter.api.extension.ParameterResolver
An extension which uses the
ProcessEngines.getDefaultProcessEngine()
and is cached within the entire context
(i.e. it would be reused by all users of the extension).
This extension also activates EnableVerboseExecutionTreeLogging
if a class is annotated with it.
- Author:
- Filip Hrisafov
-
Field Summary
Fields inherited from class org.flowable.engine.impl.test.InternalFlowableExtension
ANNOTATION_DEPLOYMENT_ID_KEY, logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterEach
(org.junit.jupiter.api.extension.ExtensionContext context) protected String
getConfigurationResource
(org.junit.jupiter.api.extension.ExtensionContext context) protected ProcessEngine
getProcessEngine
(org.junit.jupiter.api.extension.ExtensionContext context) protected org.junit.jupiter.api.extension.ExtensionContext.Store
getStore
(org.junit.jupiter.api.extension.ExtensionContext context) protected ProcessEngine
initializeProcessEngine
(String configurationResource) protected AgendaOperationExecutionListener
protected void
swapCommandInvoker
(ProcessEngine processEngine, boolean debug) Methods inherited from class org.flowable.engine.impl.test.InternalFlowableExtension
afterAll, assertAndEnsureCleanDb, beforeEach, cleanTestAndAssertAndEnsureCleanDb, doFinally, removeDeployments, resolveParameter, supportsParameter
-
Constructor Details
-
PluggableFlowableExtension
public PluggableFlowableExtension()
-
-
Method Details
-
afterEach
- Specified by:
afterEach
in interfaceorg.junit.jupiter.api.extension.AfterEachCallback
- Overrides:
afterEach
in classInternalFlowableExtension
- Throws:
Exception
-
getProcessEngine
- Specified by:
getProcessEngine
in classInternalFlowableExtension
-
initializeProcessEngine
-
getConfigurationResource
-
swapCommandInvoker
-
getStore
protected org.junit.jupiter.api.extension.ExtensionContext.Store getStore(org.junit.jupiter.api.extension.ExtensionContext context) - Specified by:
getStore
in classInternalFlowableExtension
-
newLoggingExecutionTreeAgendaOperationExecutionListener
protected AgendaOperationExecutionListener newLoggingExecutionTreeAgendaOperationExecutionListener()
-