Class CmmnEngineScriptTraceEnhancer
java.lang.Object
org.flowable.cmmn.engine.impl.scripting.CmmnEngineScriptTraceEnhancer
- All Implemented Interfaces:
ScriptTraceEnhancer
Enhances script traces with scope information for the cmmn engine.
- Author:
- Arthur Hupka-Merle
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.flowable.common.engine.impl.scripting.ScriptTraceEnhancer
ScriptTraceEnhancer.ScriptTraceContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addTenantId
(ScriptTraceEnhancer.ScriptTraceContext scriptTrace, String tenantId) void
enhanceScriptTrace
(ScriptTraceEnhancer.ScriptTraceContext scriptTrace) Allows to add information to script invocations by adding metadata like which can be used to trace the origin of a script invocation.protected void
enhanceScriptTrace
(ScriptTraceEnhancer.ScriptTraceContext scriptTrace, VariableContainer container)
-
Constructor Details
-
CmmnEngineScriptTraceEnhancer
public CmmnEngineScriptTraceEnhancer()
-
-
Method Details
-
enhanceScriptTrace
Description copied from interface:ScriptTraceEnhancer
Allows to add information to script invocations by adding metadata like which can be used to trace the origin of a script invocation.- Specified by:
enhanceScriptTrace
in interfaceScriptTraceEnhancer
- Parameters:
scriptTrace
- the trace object to add information to
-
enhanceScriptTrace
protected void enhanceScriptTrace(ScriptTraceEnhancer.ScriptTraceContext scriptTrace, VariableContainer container) -
addTenantId
-