@RestController @RequestMapping(value="/app") public class TaskResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected FlowableTaskService |
taskService |
| Constructor and Description |
|---|
TaskResource() |
| Modifier and Type | Method and Description |
|---|---|
List<TaskRepresentation> |
getSubTasks(String taskId) |
TaskRepresentation |
getTask(String taskId) |
TaskRepresentation |
updateTask(String taskId,
TaskUpdateRepresentation updated) |
@Autowired protected FlowableTaskService taskService
@GetMapping(value="/rest/tasks/{taskId}",
produces="application/json")
public TaskRepresentation getTask(@PathVariable
String taskId)
@PutMapping(value="/rest/tasks/{taskId}",
produces="application/json")
public TaskRepresentation updateTask(@PathVariable(value="taskId")
String taskId,
@RequestBody
TaskUpdateRepresentation updated)
@GetMapping(value="/rest/tasks/{taskId}/subtasks",
produces="application/json")
public List<TaskRepresentation> getSubTasks(@PathVariable
String taskId)
Copyright © 2022 Flowable. All rights reserved.