Class OpsViewManager
java.lang.Object
ecmwf.common.opsview.OpsViewManager
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Adds the notes.static void
clearNotes
(String destination) Clear notes.static void
Sync.static boolean
Checks if is activated.static void
sync
(Destination[] destinations) Sync.
-
Field Details
-
DISSEMINATION_FILTER_NAME
The Constant DISSEMINATION_FILTER_NAME. -
ACQUISITION_FILTER_NAME
The Constant ACQUISITION_FILTER_NAME. -
OTHER_FILTER_NAME
The Constant OTHER_FILTER_NAME. -
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 nameservice
- the servicestatus
- the statusmessage
- the message- Throws:
OpsViewManagerException
- the ops view manager exceptionIOException
- 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 exceptionIOException
- 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 exceptionIOException
- 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 destinationmetadata
- the metadata- Throws:
OpsViewManagerException
- the ops view manager exceptionIOException
- Signals that an I/O exception has occurred.org.apache.wink.json4j.JSONException
- the JSON exception
-