Class CompositeAlertHandler<T>

java.lang.Object
eu.europa.esig.dss.alert.handler.CompositeAlertHandler<T>
Type Parameters:
T - defines class of an object to process
All Implemented Interfaces:
AlertHandler<T>

public class CompositeAlertHandler<T> extends Object implements AlertHandler<T>
The class allows to define multiple AlertHandlers to process
  • Constructor Details

    • CompositeAlertHandler

      public CompositeAlertHandler(List<AlertHandler<T>> handlers)
      The default constructor
      Parameters:
      handlers - a list of AlertHandlers to proces
  • Method Details

    • process

      public void process(T object)
      Description copied from interface: AlertHandler
      Alert user after some change or problem has been detected
      Specified by:
      process in interface AlertHandler<T>
      Parameters:
      object - to execute the alert on