Class SevereCarrotExceptionNotificationMapper
- java.lang.Object
-
- cn.boboweike.carrot.server.dashboard.mappers.SevereCarrotExceptionNotificationMapper
-
- All Implemented Interfaces:
DashboardNotificationMapper<SevereCarrotException>
public class SevereCarrotExceptionNotificationMapper extends Object implements DashboardNotificationMapper<SevereCarrotException>
-
-
Constructor Summary
Constructors Constructor Description SevereCarrotExceptionNotificationMapper(UUID backgroundTaskServerId, PartitionedStorageProvider storageProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CarrotMetadatamapToMetadata(SevereCarrotException notification)booleansupports(DashboardNotification exception)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface cn.boboweike.carrot.server.dashboard.mappers.DashboardNotificationMapper
map
-
-
-
-
Constructor Detail
-
SevereCarrotExceptionNotificationMapper
public SevereCarrotExceptionNotificationMapper(UUID backgroundTaskServerId, PartitionedStorageProvider storageProvider)
-
-
Method Detail
-
supports
public boolean supports(DashboardNotification exception)
- Specified by:
supportsin interfaceDashboardNotificationMapper<SevereCarrotException>
-
mapToMetadata
public CarrotMetadata mapToMetadata(SevereCarrotException notification)
- Specified by:
mapToMetadatain interfaceDashboardNotificationMapper<SevereCarrotException>
-
-