Class DashboardNotificationManager
- java.lang.Object
-
- cn.boboweike.carrot.server.dashboard.DashboardNotificationManager
-
public class DashboardNotificationManager extends Object
-
-
Constructor Summary
Constructors Constructor Description DashboardNotificationManager(UUID backgroundTaskServerId, PartitionedStorageProvider storageProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteNotification(Class<? extends DashboardNotification> notificationToDelete)<T extends DashboardNotification>
TgetDashboardNotification(Class<T> notificationClass)voidhandle(Exception e)voidnotify(DashboardNotification e)
-
-
-
Constructor Detail
-
DashboardNotificationManager
public DashboardNotificationManager(UUID backgroundTaskServerId, PartitionedStorageProvider storageProvider)
-
-
Method Detail
-
handle
public void handle(Exception e)
-
notify
public void notify(DashboardNotification e)
-
deleteNotification
public void deleteNotification(Class<? extends DashboardNotification> notificationToDelete)
-
getDashboardNotification
public <T extends DashboardNotification> T getDashboardNotification(Class<T> notificationClass)
-
-