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 voidaddScopeTags(String processDefinitionId, ScriptTraceEnhancer.ScriptTraceContext context) protected voidaddTenantId(ScriptTraceEnhancer.ScriptTraceContext context, String tenantId) voidAllows to add information to script invocations by adding metadata like which can be used to trace the origin of a script invocation.protected voidenhanceScriptTrace(ScriptTraceEnhancer.ScriptTraceContext context, VariableContainer container) protected ProcessDefinitiongetProcessDefinition(String processDefinitionId)
-
Constructor Details
-
ProcessEngineScriptTraceEnhancer
public ProcessEngineScriptTraceEnhancer()
-
-
Method Details
-
enhanceScriptTrace
Description copied from interface:ScriptTraceEnhancerAllows to add information to script invocations by adding metadata like which can be used to trace the origin of a script invocation.- Specified by:
enhanceScriptTracein 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
-