Class OstiErrorEmailAgent

java.lang.Object
edu.ucsb.nceas.metacat.doi.osti.OstiErrorEmailAgent
All Implemented Interfaces:
edu.ucsb.nceas.osti_elink.OSTIElinkErrorAgent

public class OstiErrorEmailAgent extends Object implements edu.ucsb.nceas.osti_elink.OSTIElinkErrorAgent
A class sends emails to clients when errors happened during the interaction process between Metacat and the OSTI Elink service.
Author:
tao
  • Constructor Details

    • OstiErrorEmailAgent

      public OstiErrorEmailAgent()
      Constructor - set the email settings
  • Method Details

    • notify

      public void notify(String error)
      Send the email with error messages to recipients
      Specified by:
      notify in interface edu.ucsb.nceas.osti_elink.OSTIElinkErrorAgent