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.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateEvent(ClassificationHistoryEvent event)voidcreateEvent(TaskHistoryEvent event)voidcreateEvent(WorkbasketHistoryEvent event)voiddeleteEvents(List<String> taskIds)static HistoryEventManagergetInstance(TaskanaEngine taskanaEngine)static booleanisHistoryEnabled()
-
-
-
Method Detail
-
getInstance
public static HistoryEventManager getInstance(TaskanaEngine taskanaEngine)
-
isHistoryEnabled
public static boolean isHistoryEnabled()
-
createEvent
public void createEvent(TaskHistoryEvent event)
-
createEvent
public void createEvent(WorkbasketHistoryEvent event)
-
createEvent
public void createEvent(ClassificationHistoryEvent event)
-
-