public class OpenNMSRestClient extends Object
| Constructor and Description |
|---|
OpenNMSRestClient(InetSocketAddress addr) |
OpenNMSRestClient(InetSocketAddress addr,
String username,
String password) |
OpenNMSRestClient(URL url) |
OpenNMSRestClient(URL url,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearAllAlarms() |
List<Alarm> |
getAlarms() |
String |
getDisplayVersion() |
List<Alarm> |
getSituations() |
void |
sendEvent(Event event) |
void |
triggerAlarmsForCorrelation() |
void |
triggerGenericSituation() |
void |
waitForOutstandingSituation() |
public OpenNMSRestClient(InetSocketAddress addr) throws MalformedURLException
MalformedURLExceptionpublic OpenNMSRestClient(URL url)
public OpenNMSRestClient(InetSocketAddress addr, String username, String password) throws MalformedURLException
MalformedURLExceptionpublic String getDisplayVersion()
public void sendEvent(Event event)
public void waitForOutstandingSituation()
public void triggerGenericSituation()
public void triggerAlarmsForCorrelation()
public void clearAllAlarms()
Copyright © 2019. All rights reserved.