edu.ucsb.nceas.metacat.doi.osti

## 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 java.lang.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 Summary

    Constructors
    Constructor and Description
    `OstiErrorEmailAgent()` Constructor - set the email settings

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `notify(java.lang.String error)` Send the email with error messages to recipients

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### OstiErrorEmailAgent

          public OstiErrorEmailAgent()

      Constructor - set the email settings

  - ### Method Detail

    - #### notify

          public void notify(java.lang.String error)

      Send the email with error messages to recipients
      Specified by:
        `notify` in interface `edu.ucsb.nceas.osti_elink.OSTIElinkErrorAgent`

Copyright © 2023 Regents of the University of California. All Rights Reserved.