@RestController public class ExecutionVariableResource extends BaseExecutionVariableResource
Modifier and Type | Field and Description |
---|---|
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
env, isSerializableVariableAllowed, restResponseFactory, runtimeService
Constructor and Description |
---|
ExecutionVariableResource() |
Modifier and Type | Method and Description |
---|---|
void |
deleteVariable(String executionId,
String variableName,
String scope,
javax.servlet.http.HttpServletResponse response) |
RestVariable |
getVariable(String executionId,
String variableName,
String scope,
javax.servlet.http.HttpServletRequest request) |
RestVariable |
updateVariable(String executionId,
String variableName,
javax.servlet.http.HttpServletRequest request) |
allowProcessInstanceUrl, constructRestVariable, getExecutionFromRequest, getExecutionIdParameter, getProcessInstanceFromRequest, getVariableDataByteArray, getVariableFromRequest, hasVariableOnScope, postConstruct, setBinaryVariable, setSimpleVariable, setVariable
@Autowired protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
@RequestMapping(value="/runtime/executions/{executionId}/variables/{variableName}", method=GET, produces="application/json") public RestVariable getVariable(@PathVariable(value="executionId") String executionId, @PathVariable(value="variableName") String variableName, @RequestParam(value="scope",required=false) String scope, javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/runtime/executions/{executionId}/variables/{variableName}", method=PUT, produces="application/json") public RestVariable updateVariable(@PathVariable(value="executionId") String executionId, @PathVariable(value="variableName") String variableName, javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/runtime/executions/{executionId}/variables/{variableName}", method=DELETE) public void deleteVariable(@PathVariable(value="executionId") String executionId, @PathVariable(value="variableName") String variableName, @RequestParam(value="scope",required=false) String scope, javax.servlet.http.HttpServletResponse response)
Copyright © 2016 Alfresco. All rights reserved.