@Manager public class FlowableDebuggerManager extends Object implements DebuggerManager
| Modifier and Type | Field and Description |
|---|---|
static Collection<String> |
STEPPING_SIGNALS |
| Constructor and Description |
|---|
FlowableDebuggerManager(org.flowable.engine.ProcessEngine processEngine,
ProcessService processService,
GearExpressionResolver expressionResolver,
AnyWorkObjectService workObjectService,
AmbiguousIdHelper ambiguousIdHelper) |
| Modifier and Type | Method and Description |
|---|---|
Object |
evaluateExpression(String executionId,
String expressionString)
Evaluate given expression in the context of the execution
|
Object |
evaluateWorkObjectByGlobalIdExpression(String workObjectGlobalId,
String expressionString)
Evaluate given expression in the context of the workobject
|
Object |
evaluateWorkObjectExpression(String ambiguousId,
String expressionString)
Evaluate given expression in the context of the workobject
|
List<Map<String,String>> |
getExecutions()
Get executions ready for debugging
|
void |
setExecutionToActivity(String executionId,
String activityId)
Set activity in the execution to the defined step.
|
void |
signalExecution(String executionId,
String signalName)
Signal execution to continue in the process execution.
|
public static final Collection<String> STEPPING_SIGNALS
public FlowableDebuggerManager(org.flowable.engine.ProcessEngine processEngine,
ProcessService processService,
GearExpressionResolver expressionResolver,
AnyWorkObjectService workObjectService,
AmbiguousIdHelper ambiguousIdHelper)
public void signalExecution(String executionId, String signalName) throws Exception
DebuggerManagerSignal execution to continue in the process execution.
signalExecution in interface DebuggerManagerexecutionId - execution to continue insignalName - signal specifies the way in which process will continue (e.g. resume, step inside…)Exceptionpublic List<Map<String,String>> getExecutions()
DebuggerManagerGet executions ready for debugging
getExecutions in interface DebuggerManagerpublic Object evaluateExpression(String executionId, String expressionString) throws Exception
DebuggerManagerEvaluate given expression in the context of the execution
evaluateExpression in interface DebuggerManagerexecutionId - context in which expression is evaluatedexpressionString - expression to evaluateExceptionpublic Object evaluateWorkObjectExpression(String ambiguousId, String expressionString) throws Exception
DebuggerManagerEvaluate given expression in the context of the workobject
evaluateWorkObjectExpression in interface DebuggerManagerambiguousId - work object ID for the context in which expression is evaluated
(either work object ID value or global ID value)expressionString - expression to evaluateExceptionpublic Object evaluateWorkObjectByGlobalIdExpression(String workObjectGlobalId, String expressionString) throws Exception
DebuggerManagerEvaluate given expression in the context of the workobject
evaluateWorkObjectByGlobalIdExpression in interface DebuggerManagerworkObjectGlobalId - context in which expression is evaluatedexpressionString - expression to evaluateExceptionpublic void setExecutionToActivity(String executionId, String activityId)
DebuggerManagerSet activity in the execution to the defined step.
setExecutionToActivity in interface DebuggerManagerexecutionId - execution which is going to be changedactivityId - activity id where execution will point toCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.