Class SevereJobRunrExceptionNotificationMapper
- java.lang.Object
-
- org.jobrunr.server.dashboard.mappers.SevereJobRunrExceptionNotificationMapper
-
- All Implemented Interfaces:
DashboardNotificationMapper<SevereJobRunrException>
public class SevereJobRunrExceptionNotificationMapper extends java.lang.Object implements DashboardNotificationMapper<SevereJobRunrException>
-
-
Constructor Summary
Constructors Constructor Description SevereJobRunrExceptionNotificationMapper(java.util.UUID backgroundJobServerId, StorageProvider storageProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobRunrMetadata
mapToMetadata(SevereJobRunrException notification)
boolean
supports(DashboardNotification exception)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jobrunr.server.dashboard.mappers.DashboardNotificationMapper
map
-
-
-
-
Constructor Detail
-
SevereJobRunrExceptionNotificationMapper
public SevereJobRunrExceptionNotificationMapper(java.util.UUID backgroundJobServerId, StorageProvider storageProvider)
-
-
Method Detail
-
supports
public boolean supports(DashboardNotification exception)
- Specified by:
supports
in interfaceDashboardNotificationMapper<SevereJobRunrException>
-
mapToMetadata
public JobRunrMetadata mapToMetadata(SevereJobRunrException notification)
- Specified by:
mapToMetadata
in interfaceDashboardNotificationMapper<SevereJobRunrException>
-
-