Package eu.europa.esig.dss.alert
Class AbstractAlert<T>
java.lang.Object
eu.europa.esig.dss.alert.AbstractAlert<T>
- Type Parameters:
T- the object to execute alert detection and handling on
- All Implemented Interfaces:
Alert<T>
- Direct Known Subclasses:
AbstractStatusAlert,DSSErrorHandlerAlert,LOTLAlert,SilentOnAlert,TLAlert
The class contains a general logic for alert handling
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEmpty constructor requiring implementation of#getAlertDetectorand#getAlertHandlermethodsprotectedAbstractAlert(AlertDetector<T> detector, AlertHandler<T> handler) The default constructor setting thedetectorandhandlerexplicitly -
Method Summary
Modifier and TypeMethodDescriptionvoidDetect and execute the alert on the provided objectprotected AlertDetector<T> Gets the alert detectorprotected AlertHandler<T> Gets the alert handler
-
Constructor Details
-
AbstractAlert
protected AbstractAlert()Empty constructor requiring implementation of#getAlertDetectorand#getAlertHandlermethods -
AbstractAlert
The default constructor setting thedetectorandhandlerexplicitly- Parameters:
detector-AlertDetectorto detect an eventhandler-AlertHandlerto execute the corresponding code
-
-
Method Details
-
alert
-
getAlertDetector
-
getAlertHandler
-