Class OpsViewManager

java.lang.Object
ecmwf.common.opsview.OpsViewManager

public final class OpsViewManager extends Object
The Class OpsViewManager.
  • Field Details

    • DISSEMINATION_FILTER_NAME

      public static final String DISSEMINATION_FILTER_NAME
      The Constant DISSEMINATION_FILTER_NAME.
    • ACQUISITION_FILTER_NAME

      public static final String ACQUISITION_FILTER_NAME
      The Constant ACQUISITION_FILTER_NAME.
    • OTHER_FILTER_NAME

      public static final String OTHER_FILTER_NAME
      The Constant OTHER_FILTER_NAME.
    • filtersList

      protected static final String[] filtersList
      The Constant filtersList.
  • Method Details

    • isActivated

      public static boolean isActivated()
      Checks if is activated.
      Returns:
      true, if is activated
    • detail

      public static void detail(String hostname, String service, int status, String message) throws OpsViewManagerException, IOException, org.apache.wink.json4j.JSONException
      Sync.
      Parameters:
      hostname - the host name
      service - the service
      status - the status
      message - the message
      Throws:
      OpsViewManagerException - the ops view manager exception
      IOException - Signals that an I/O exception has occurred.
      org.apache.wink.json4j.JSONException - the JSON exception
    • sync

      public static void sync(Destination[] destinations) throws OpsViewManagerException, IOException, org.apache.wink.json4j.JSONException
      Sync.
      Parameters:
      destinations - the destinations
      Throws:
      OpsViewManagerException - the ops view manager exception
      IOException - Signals that an I/O exception has occurred.
      org.apache.wink.json4j.JSONException - the JSON exception
    • clearNotes

      public static void clearNotes(String destination) throws OpsViewManagerException, IOException, org.apache.wink.json4j.JSONException
      Clear notes.
      Parameters:
      destination - the destination
      Throws:
      OpsViewManagerException - the ops view manager exception
      IOException - Signals that an I/O exception has occurred.
      org.apache.wink.json4j.JSONException - the JSON exception
    • addNotes

      public static void addNotes(String destination, String metadata) throws OpsViewManagerException, IOException, org.apache.wink.json4j.JSONException
      Adds the notes.
      Parameters:
      destination - the destination
      metadata - the metadata
      Throws:
      OpsViewManagerException - the ops view manager exception
      IOException - Signals that an I/O exception has occurred.
      org.apache.wink.json4j.JSONException - the JSON exception