Interface TaskVariableController


  • @RequestMapping(value="/v1/tasks/{taskId}/variables",
                    produces={"application/hal+json","application/json"})
    public interface TaskVariableController
    • Method Detail

      • getVariables

        @GetMapping(headers="Content-type=application/json")
        org.springframework.hateoas.CollectionModel<org.springframework.hateoas.EntityModel<CloudVariableInstance>> getVariables​(@PathVariable("taskId")
                                                                                                                                 String taskId)
      • createVariable

        @PostMapping(headers="Content-type=application/json")
        org.springframework.http.ResponseEntity<Void> createVariable​(@PathVariable("taskId")
                                                                     String taskId,
                                                                     @RequestBody
                                                                     org.activiti.api.task.model.payloads.CreateTaskVariablePayload createTaskVariablePayload)
      • updateVariable

        @PutMapping(value="/{variableName}",
                    headers="Content-type=application/json")
        org.springframework.http.ResponseEntity<Void> updateVariable​(@PathVariable("taskId")
                                                                     String taskId,
                                                                     @PathVariable("variableName")
                                                                     String variableName,
                                                                     @RequestBody
                                                                     org.activiti.api.task.model.payloads.UpdateTaskVariablePayload updateTaskVariablePayload)