public class OnmsRestEventsClient extends Object
Modifier and Type | Field and Description |
---|---|
static String |
EVENT_COUNT_URI |
static String |
EVENTS_URI |
static String |
NODE_LABEL |
Constructor and Description |
---|
OnmsRestEventsClient() |
Modifier and Type | Method and Description |
---|---|
Integer |
getEventCount()
Returns event count or null if failed to retrieve data
|
List<Event> |
getEvents(Integer limit,
Integer offset) |
String |
getOnmsPassWord() |
String |
getOnmsUrl() |
String |
getOnmsUserName() |
void |
setOnmsPassWord(String onmsPassWord) |
void |
setOnmsUrl(String onmsUrl) |
void |
setOnmsUserName(String onmsUserName) |
Event |
toEvent(OnmsEvent onmsEvent) |
public static final String NODE_LABEL
public static final String EVENTS_URI
public static final String EVENT_COUNT_URI
public String getOnmsUrl()
public void setOnmsUrl(String onmsUrl)
public String getOnmsUserName()
public void setOnmsUserName(String onmsUserName)
public String getOnmsPassWord()
public void setOnmsPassWord(String onmsPassWord)
public Integer getEventCount()
Copyright © 2020. All rights reserved.