Package org.jobrunr.server.dashboard
Class DashboardNotificationManager
- java.lang.Object
-
- org.jobrunr.server.dashboard.DashboardNotificationManager
-
public class DashboardNotificationManager extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DashboardNotificationManager(java.util.UUID backgroundJobServerId, StorageProvider storageProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteNotification(java.lang.Class<? extends DashboardNotification> notificationToDelete)
<T extends DashboardNotification>
TgetDashboardNotification(java.lang.Class<T> notificationClass)
void
handle(java.lang.Exception e)
void
notify(DashboardNotification e)
-
-
-
Constructor Detail
-
DashboardNotificationManager
public DashboardNotificationManager(java.util.UUID backgroundJobServerId, StorageProvider storageProvider)
-
-
Method Detail
-
handle
public void handle(java.lang.Exception e)
-
notify
public void notify(DashboardNotification e)
-
deleteNotification
public void deleteNotification(java.lang.Class<? extends DashboardNotification> notificationToDelete)
-
getDashboardNotification
public <T extends DashboardNotification> T getDashboardNotification(java.lang.Class<T> notificationClass)
-
-