@RestController @RequestMapping(value="/app") public class DebuggerResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected DebuggerService |
debuggerService |
protected org.springframework.core.env.Environment |
environment |
| Constructor and Description |
|---|
DebuggerResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBreakPoints(BreakpointRepresentation breakpointRepresentation) |
protected void |
assertDebuggerEnabled() |
void |
continueExecution(String executionId) |
void |
deleteBreakPoints(BreakpointRepresentation breakpointRepresentation) |
String |
evaluateExpression(String executionId,
String expression) |
void |
evaluateScript(String executionId,
String scriptLanguage,
String script) |
Collection<BreakpointRepresentation> |
getBreakpoints() |
List<EventLogEntry> |
getEventLog(String processInstanceId) |
List<ExecutionRepresentation> |
getExecutions(String processInstanceId) |
List<DebuggerRestVariable> |
getExecutionVariables(String executionId) |
boolean |
isDebuggerAllowed() |
@Autowired protected DebuggerService debuggerService
@Autowired protected org.springframework.core.env.Environment environment
@GetMapping(value="/rest/debugger/breakpoints",
produces="application/json")
public Collection<BreakpointRepresentation> getBreakpoints()
@PostMapping(value="/rest/debugger/breakpoints")
public void addBreakPoints(@RequestBody
BreakpointRepresentation breakpointRepresentation)
@PutMapping(value="/rest/debugger/breakpoints/{executionId}/continue")
public void continueExecution(@PathVariable
String executionId)
@DeleteMapping(value="/rest/debugger/breakpoints")
public void deleteBreakPoints(@RequestBody
BreakpointRepresentation breakpointRepresentation)
@GetMapping(value="/rest/debugger/eventlog/{processInstanceId}")
public List<EventLogEntry> getEventLog(@PathVariable
String processInstanceId)
@GetMapping(value="/rest/debugger/variables/{executionId}")
public List<DebuggerRestVariable> getExecutionVariables(@PathVariable
String executionId)
@GetMapping(value="/rest/debugger/executions/{processInstanceId}")
public List<ExecutionRepresentation> getExecutions(@PathVariable
String processInstanceId)
@PostMapping(value="/rest/debugger/evaluate/expression/{executionId}",
produces="application/text")
public String evaluateExpression(@PathVariable
String executionId,
@RequestBody
String expression)
@PostMapping(value="/rest/debugger/evaluate/{scriptLanguage}/{executionId}")
public void evaluateScript(@PathVariable
String executionId,
@PathVariable
String scriptLanguage,
@RequestBody
String script)
@GetMapping(value="/rest/debugger") public boolean isDebuggerAllowed()
protected void assertDebuggerEnabled()
Copyright © 2022 Flowable. All rights reserved.