Package com.enonic.xp.task

## Interface TaskService

-     @PublicApi
      public interface TaskService

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<TaskInfo>` | `getAllTasks()` |
    `List<TaskInfo>` | `getRunningTasks()` |
    `TaskInfo` | `getTaskInfo​(TaskId taskId)` |
    `TaskId` | `submitLocalTask​(SubmitLocalTaskParams params)` |
    `TaskId` | `submitTask​(DescriptorKey key, PropertyTree config)` | Deprecated.
    `TaskId` | `submitTask​(RunnableTask runnable, String description)` | Deprecated.
    `TaskId` | `submitTask​(SubmitTaskParams params)` |

- - ### Method Detail

    - #### submitTask

          @Deprecated
          TaskId submitTask​(RunnableTask runnable,
                            String description)

      Deprecated.

    - #### submitLocalTask

          TaskId submitLocalTask​(SubmitLocalTaskParams params)

    - #### submitTask

          @Deprecated
          TaskId submitTask​(DescriptorKey key,
                            PropertyTree config)

      Deprecated.

    - #### submitTask

          TaskId submitTask​(SubmitTaskParams params)

    - #### getTaskInfo

          TaskInfo getTaskInfo​(TaskId taskId)

    - #### getAllTasks

          List<TaskInfo> getAllTasks()

    - #### getRunningTasks

          List<TaskInfo> getRunningTasks()