@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
DebuggerManager
Signal execution to continue in the process execution.
signalExecution
in interface DebuggerManager
executionId
- execution to continue insignalName
- signal specifies the way in which process will continue (e.g. resume, step inside…)Exception
public List<Map<String,String>> getExecutions()
DebuggerManager
Get executions ready for debugging
getExecutions
in interface DebuggerManager
public Object evaluateExpression(String executionId, String expressionString) throws Exception
DebuggerManager
Evaluate given expression in the context of the execution
evaluateExpression
in interface DebuggerManager
executionId
- context in which expression is evaluatedexpressionString
- expression to evaluateException
public Object evaluateWorkObjectExpression(String ambiguousId, String expressionString) throws Exception
DebuggerManager
Evaluate given expression in the context of the workobject
evaluateWorkObjectExpression
in interface DebuggerManager
ambiguousId
- work object ID for the context in which expression is evaluated
(either work object ID value or global ID value)expressionString
- expression to evaluateException
public Object evaluateWorkObjectByGlobalIdExpression(String workObjectGlobalId, String expressionString) throws Exception
DebuggerManager
Evaluate given expression in the context of the workobject
evaluateWorkObjectByGlobalIdExpression
in interface DebuggerManager
workObjectGlobalId
- context in which expression is evaluatedexpressionString
- expression to evaluateException
public void setExecutionToActivity(String executionId, String activityId)
DebuggerManager
Set activity in the execution to the defined step.
setExecutionToActivity
in interface DebuggerManager
executionId
- execution which is going to be changedactivityId
- activity id where execution will point toCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.