## Uses of Interface
org.kie.api.task.model.Task

- Packages that use Task
  Package | Description
  --- | ---
  org.kie.api.task |

- - ### Uses of Task in org.kie.api.task

    Methods in org.kie.api.task that return Task
    Modifier and Type | Method | Description
    --- | --- | ---
    `Task` | TaskEvent.`getTask()` |
    `Task` | TaskService.`getTaskById​(long taskId)` |
    `Task` | TaskService.`getTaskByWorkItemId​(long workItemId)` |
    `Task` | TaskContext.`loadTaskVariables​(Task task)` | Loads task (given as argument) variables - both input and output if exists.

    Methods in org.kie.api.task with parameters of type Task
    Modifier and Type | Method | Description
    --- | --- | ---
    `long` | TaskService.`addTask​(Task task, java.util.Map<java.lang.String,​java.lang.Object> params)` |
    `Task` | TaskContext.`loadTaskVariables​(Task task)` | Loads task (given as argument) variables - both input and output if exists.