Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[incubator-kie-issues-597] PIM fails to handle timers when org.jbpm.timer.disableUnmarshallerRegistration is set to true #5547

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package org.drools.core.time;

import java.util.Collection;
import java.util.Optional;

import org.drools.core.time.impl.TimerJobFactoryManager;
import org.drools.core.time.impl.TimerJobInstance;
Expand Down Expand Up @@ -56,9 +57,15 @@ public interface TimerService extends SchedulerService {
* This method may return null for some TimerService implementations that do not want the overhead of maintain this.
* @return
*/
Collection<TimerJobInstance> getTimerJobInstances(long id);
Collection<TimerJobInstance> getTimerJobInstances(long kieSessionId);

default Optional<TimerJobInstance> getTimerJobInstanceByTimerId(Long processInstanceId, Long timerId) {
return Optional.empty();
}

void setTimerJobFactoryManager(TimerJobFactoryManager timerJobFactoryManager);

TimerJobFactoryManager getTimerJobFactoryManager();


}