Package org.kie.internal.task.api

## Interface TaskDeadlinesService

-     public interface TaskDeadlinesService

  The Task Deadlines Service is intended to handle all the Deadlines associated with a Task

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface | Description
    --- | --- | ---
    `static class` | `TaskDeadlinesService.DeadlineType` |

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `schedule​(long taskId, long deadlineId, long delay, TaskDeadlinesService.DeadlineType type)` |
    `default void` | `scheduleNew​(long taskId, long deadlineId, long delay, TaskDeadlinesService.DeadlineType type)` |
    `void` | `unschedule​(long taskId, Deadline deadline, TaskDeadlinesService.DeadlineType type)` |
    `void` | `unschedule​(long taskId, TaskDeadlinesService.DeadlineType type)` |

- - ### Method Detail

    - #### scheduleNew

          default void scheduleNew​(long taskId,
                                   long deadlineId,
                                   long delay,
                                   TaskDeadlinesService.DeadlineType type)

    - #### schedule

          void schedule​(long taskId,
                        long deadlineId,
                        long delay,
                        TaskDeadlinesService.DeadlineType type)

    - #### unschedule

          void unschedule​(long taskId,
                          TaskDeadlinesService.DeadlineType type)

    - #### unschedule

          void unschedule​(long taskId,
                          Deadline deadline,
                          TaskDeadlinesService.DeadlineType type)