## Uses of Class
org.apache.synapse.task.TaskDescription

- Packages that use TaskDescription
  Package | Description
  --- | ---
  org.apache.synapse.task |
  org.apache.synapse.task.service |

- - ### Uses of TaskDescription in org.apache.synapse.task

    Methods in org.apache.synapse.task that return TaskDescription
    Modifier and Type | Method | Description
    --- | --- | ---
    `static TaskDescription` | TaskDescriptionFactory.`createTaskDescription​(org.apache.axiom.om.OMElement el, org.apache.axiom.om.OMNamespace tagetNamespace)` |
    `TaskDescription` | TaskManager.`getTask​(String name)` |
    `TaskDescription` | TaskDescriptionRepository.`getTaskDescription​(String name)` | Gets a TaskDescription
    `TaskDescription` | TaskDescriptionRepository.`removeTaskDescription​(String name)` | Removing a TaskDescription

    Methods in org.apache.synapse.task that return types with arguments of type TaskDescription
    Modifier and Type | Method | Description
    --- | --- | ---
    `Iterator<TaskDescription>` | TaskDescriptionRepository.`getAllTaskDescriptions()` | Return all TaskDescritions

    Methods in org.apache.synapse.task with parameters of type TaskDescription
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | TaskDescriptionRepository.`addTaskDescription​(TaskDescription taskDescription)` | Stores a given TaskDescription
    `org.quartz.JobDetail` | DefaultTaskJobDetailFactory.`createJobDetail​(TaskDescription taskDescription, Map<String,​Object> resources, Class<? extends org.quartz.Job> jobClass)` |
    `org.quartz.JobDetail` | TaskJobDetailFactory.`createJobDetail​(TaskDescription taskDescription, Map<String,​Object> resources, Class<? extends org.quartz.Job> jobClass)` | Factory method for creating a JobDetail based on give Task Description , additional resources and job class
    `org.quartz.Trigger` | DefaultTaskTriggerFactory.`createTrigger​(TaskDescription taskDescription)` |
    `org.quartz.Trigger` | TaskTriggerFactory.`createTrigger​(TaskDescription taskDescription)` | Factory method to create a trigger instance based on given Task Description
    `boolean` | TaskManager.`reschedule​(String name, TaskDescription taskDescription)` |
    `boolean` | TaskManager.`schedule​(TaskDescription taskDescription)` | Schedules a task on an external task scheduler based on the parameters of the `TaskDescription`.
    `boolean` | TaskScheduler.`scheduleTask​(TaskDescription taskDescription)` |
    `boolean` | TaskScheduler.`scheduleTask​(TaskDescription taskDescription, Map<String,​Object> resources, Class taskClass)` |
    `boolean` | TaskScheduler.`scheduleTask​(TaskDescription taskDescription, Map<String,​Object> resources, Class jobClass, Task task)` |
    `static org.apache.axiom.om.OMElement` | TaskDescriptionSerializer.`serializeTaskDescription​(org.apache.axiom.om.OMNamespace targetNamespace, TaskDescription taskDescription)` |

  - ### Uses of TaskDescription in org.apache.synapse.task.service

    Methods in org.apache.synapse.task.service that return TaskDescription
    Modifier and Type | Method | Description
    --- | --- | ---
    `TaskDescription` | TaskManagementService.`getTaskDescription​(String name)` | Get a TaskDescription instance with given name

    Methods in org.apache.synapse.task.service that return types with arguments of type TaskDescription
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<TaskDescription>` | TaskManagementService.`getAllTaskDescriptions()` | Lists of all TaskDescription instances

    Methods in org.apache.synapse.task.service with parameters of type TaskDescription
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | TaskManagementService.`addTaskDescription​(TaskDescription taskDescription)` | Adding a TaskDescription instance
    `void` | TaskManagementService.`editTaskDescription​(TaskDescription taskDescription)` | Edit a TaskDescription Remove existing one with new one