Class ProcessEngineScriptTraceEnhancer
java.lang.Object
org.flowable.engine.impl.scripting.ProcessEngineScriptTraceEnhancer
- All Implemented Interfaces:
ScriptTraceEnhancer
Enhances script traces with scope information for the process 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
addScopeTags
(String processDefinitionId, ScriptTraceEnhancer.ScriptTraceContext context) protected void
addTenantId
(ScriptTraceEnhancer.ScriptTraceContext context, String tenantId) void
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 context, VariableContainer container) protected ProcessDefinition
getProcessDefinition
(String processDefinitionId)
-
Constructor Details
-
ProcessEngineScriptTraceEnhancer
public ProcessEngineScriptTraceEnhancer()
-
-
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:
context
- the trace object to add information to
-
enhanceScriptTrace
protected void enhanceScriptTrace(ScriptTraceEnhancer.ScriptTraceContext context, VariableContainer container) -
addScopeTags
protected void addScopeTags(String processDefinitionId, ScriptTraceEnhancer.ScriptTraceContext context) -
addTenantId
-
getProcessDefinition
-