Class ExecutionVariableResource
- java.lang.Object
-
- org.flowable.rest.service.api.runtime.process.BaseExecutionVariableResource
-
- org.flowable.rest.service.api.runtime.process.ExecutionVariableResource
-
@RestController public class ExecutionVariableResource extends BaseExecutionVariableResource
- Author:
- Frederik Heremans
-
-
Field Summary
Fields Modifier and Type Field Description protected com.fasterxml.jackson.databind.ObjectMapperobjectMapper-
Fields inherited from class org.flowable.rest.service.api.runtime.process.BaseExecutionVariableResource
env, isSerializableVariableAllowed, restApiInterceptor, restResponseFactory, runtimeService, variableType
-
-
Constructor Summary
Constructors Constructor Description ExecutionVariableResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteVariable(String executionId, String variableName, String scope, javax.servlet.http.HttpServletResponse response)RestVariablegetVariable(String executionId, String variableName, String scope, javax.servlet.http.HttpServletRequest request)RestVariableupdateVariable(String executionId, String variableName, javax.servlet.http.HttpServletRequest request)-
Methods inherited from class org.flowable.rest.service.api.runtime.process.BaseExecutionVariableResource
allowProcessInstanceUrl, constructRestVariable, getExecutionFromRequestWithoutAccessCheck, getExecutionIdParameter, getVariableDataByteArray, getVariableFromRequest, getVariableFromRequestWithoutAccessCheck, hasVariableOnScope, postConstruct, setBinaryVariable, setSimpleVariable, setVariable
-
-
-
-
Method Detail
-
getVariable
@GetMapping(value="/runtime/executions/{executionId}/variables/{variableName}", produces="application/json") public RestVariable getVariable(@PathVariable("executionId") String executionId, @PathVariable("variableName") String variableName, @RequestParam(value="scope",required=false) String scope, javax.servlet.http.HttpServletRequest request)
-
updateVariable
@PutMapping(value="/runtime/executions/{executionId}/variables/{variableName}", produces="application/json", consumes={"application/json","multipart/form-data"}) public RestVariable updateVariable(@PathVariable("executionId") String executionId, @PathVariable("variableName") String variableName, javax.servlet.http.HttpServletRequest request)
-
deleteVariable
@DeleteMapping("/runtime/executions/{executionId}/variables/{variableName}") public void deleteVariable(@PathVariable("executionId") String executionId, @PathVariable("variableName") String variableName, @RequestParam(value="scope",required=false) String scope, javax.servlet.http.HttpServletResponse response)
-
-