Package org.kie.internal.task.api

## Interface TaskContext

- All Superinterfaces:
    `org.kie.api.runtime.Context`, `org.kie.api.task.TaskContext`

      public interface TaskContext
      extends org.kie.api.runtime.Context, org.kie.api.task.TaskContext

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `TaskPersistenceContext` | `getPersistenceContext()` |
    `org.kie.api.task.UserGroupCallback` | `getUserGroupCallback()` |
    `void` | `setPersistenceContext​(TaskPersistenceContext context)` |
    `void` | `setUserId​(String userId)` |

    - ### Methods inherited from interface org.kie.api.runtime.Context

      `get, getName, has, remove, set`

    - ### Methods inherited from interface org.kie.api.task.TaskContext

      `getUserId, loadTaskVariables`

- - ### Method Detail

    - #### getPersistenceContext

          TaskPersistenceContext getPersistenceContext()

    - #### setPersistenceContext

          void setPersistenceContext​(TaskPersistenceContext context)

    - #### getUserGroupCallback

          org.kie.api.task.UserGroupCallback getUserGroupCallback()

      Specified by:
        `getUserGroupCallback` in interface `org.kie.api.task.TaskContext`

    - #### setUserId

          void setUserId​(String userId)