From 3377489989c79721b1ab929725be21504dd171e7 Mon Sep 17 00:00:00 2001 From: Alberto Fanjul Date: Fri, 5 May 2023 16:11:52 +0200 Subject: [PATCH] [JBPM-10176] info about new timers --- .../java/org/kie/internal/task/api/TaskDeadlinesService.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kie-internal/src/main/java/org/kie/internal/task/api/TaskDeadlinesService.java b/kie-internal/src/main/java/org/kie/internal/task/api/TaskDeadlinesService.java index ff4a1f333..8f095fdfa 100644 --- a/kie-internal/src/main/java/org/kie/internal/task/api/TaskDeadlinesService.java +++ b/kie-internal/src/main/java/org/kie/internal/task/api/TaskDeadlinesService.java @@ -42,6 +42,10 @@ public boolean isValidStatus(Status status) { } + default void scheduleNew(long taskId, long deadlineId, long delay, DeadlineType type) { + schedule(taskId, deadlineId, delay, type); + } + public void schedule(long taskId, long deadlineId, long delay, DeadlineType type); public void unschedule(long taskId, DeadlineType type);