Package pro.taskana.spi.history.internal
Class HistoryEventManager
- java.lang.Object
-
- pro.taskana.spi.history.internal.HistoryEventManager
-
public final class HistoryEventManager extends Object
Creates and deletes events and emits them to the registered history service providers.
-
-
Constructor Summary
Constructors Constructor Description HistoryEventManager(TaskanaEngine taskanaEngine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateEvent(ClassificationHistoryEvent event)voidcreateEvent(TaskHistoryEvent event)voidcreateEvent(WorkbasketHistoryEvent event)voiddeleteEvents(List<String> taskIds)booleanisEnabled()
-
-
-
Constructor Detail
-
HistoryEventManager
public HistoryEventManager(TaskanaEngine taskanaEngine)
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
-
createEvent
public void createEvent(TaskHistoryEvent event)
-
createEvent
public void createEvent(WorkbasketHistoryEvent event)
-
createEvent
public void createEvent(ClassificationHistoryEvent event)
-
-