@Entity public class OnmsMonitoringSystem extends Object implements Serializable
Represents an OpenNMS monitoring system that can poll status of nodes and report events that occur on the network. Examples of monitoring systems include:
CAUTION: Don't add final modifiers to methods here because they need to be proxyable to the child classes and Javassist doesn't override final methods.
Modifier and Type | Field and Description |
---|---|
static String |
TYPE_MINION |
static String |
TYPE_OPENNMS |
Constructor and Description |
---|
OnmsMonitoringSystem()
default constructor
|
OnmsMonitoringSystem(String id,
String location)
Minimal constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
A human-readable name for each system.
|
String |
getLabel()
A human-readable name for each system.
|
Date |
getLastUpdated()
The timestamp of the last message passed from the remote system.
|
String |
getLocation()
The monitoring location that this system is located in.
|
Map<String,String> |
getProperties()
setIpAddress
|
String |
getType()
The type of monitoring system.
|
void |
setId(String id)
setName
|
void |
setLabel(String label) |
void |
setLastUpdated(Date lastUpdated) |
void |
setLocation(String location) |
void |
setProperties(Map<String,String> properties) |
void |
setProperty(String property,
String value) |
void |
setType(String type) |
String |
toString()
toString
|
public static final String TYPE_OPENNMS
public static final String TYPE_MINION
public String getId()
String
object.public String getLabel()
String
object.public String getLocation()
String
object.public String getType()
String
object.public Date getLastUpdated()
String
object.public void setLastUpdated(Date lastUpdated)
public Map<String,String> getProperties()
setIpAddress
ipAddress
- a String
object.public void setProperties(Map<String,String> properties)
properties
- a Map
object.Copyright © 2021. All rights reserved.