Class TaskVariableControllerImpl

java.lang.Object
org.activiti.cloud.services.rest.controllers.TaskVariableControllerImpl
All Implemented Interfaces:
org.activiti.cloud.services.rest.api.TaskVariableController

@RestController @RequestMapping(produces={"application/hal+json","application/json"}) public class TaskVariableControllerImpl extends Object implements org.activiti.cloud.services.rest.api.TaskVariableController
  • Constructor Details

  • Method Details

    • getVariables

      public org.springframework.hateoas.CollectionModel<org.springframework.hateoas.EntityModel<org.activiti.cloud.api.model.shared.CloudVariableInstance>> getVariables(@PathVariable String taskId)
      Specified by:
      getVariables in interface org.activiti.cloud.services.rest.api.TaskVariableController
    • createVariable

      public org.springframework.http.ResponseEntity<Void> createVariable(@PathVariable String taskId, @RequestBody org.activiti.api.task.model.payloads.CreateTaskVariablePayload createTaskVariablePayload)
      Specified by:
      createVariable in interface org.activiti.cloud.services.rest.api.TaskVariableController
    • updateVariable

      public org.springframework.http.ResponseEntity<Void> updateVariable(@PathVariable String taskId, @PathVariable String variableName, @RequestBody org.activiti.api.task.model.payloads.UpdateTaskVariablePayload updateTaskVariablePayload)
      Specified by:
      updateVariable in interface org.activiti.cloud.services.rest.api.TaskVariableController