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 |
|---|---|
int |
addTestNode() |
Map<String,Integer> |
addTestNodes(String... nodeLabels) |
void |
addUDLBetweenNodes(int nodeAId,
int nodeZId) |
void |
clearAllAlarms() |
List<Alarm> |
getAlarms() |
String |
getDisplayVersion() |
List<Alarm> |
getSituations() |
void |
sendEvent(Event event) |
void |
triggerAlarmsForCorrelation(int nodeId) |
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 triggerAlarmsForCorrelation(int nodeId)
public int addTestNode()
public void addUDLBetweenNodes(int nodeAId,
int nodeZId)
public void clearAllAlarms()
Copyright © 2021. All rights reserved.