Package org.opennms.netmgt.model
Class OnmsMonitoredServiceDetail
- java.lang.Object
-
- org.opennms.netmgt.model.OnmsMonitoredServiceDetail
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<OnmsMonitoredServiceDetail>
public class OnmsMonitoredServiceDetail extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<OnmsMonitoredServiceDetail>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OnmsMonitoredServiceDetail()
OnmsMonitoredServiceDetail(OnmsMonitoredService service)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(OnmsMonitoredServiceDetail o)
java.lang.String
getId()
java.net.InetAddress
getIpAddress()
java.lang.Integer
getIpInterfaceId()
java.lang.String
getNodeLabel()
java.lang.String
getServiceName()
java.lang.String
getStatus()
java.lang.String
getStatusCode()
boolean
isDown()
boolean
isMonitored()
void
setId(java.lang.String id)
void
setIpAddress(java.net.InetAddress ipAddress)
void
setNodeLabel(java.lang.String nodeLabel)
void
setServiceName(java.lang.String serviceName)
void
setStatus(java.lang.String status)
void
setStatusCode(java.lang.String statusCode)
-
-
-
Constructor Detail
-
OnmsMonitoredServiceDetail
public OnmsMonitoredServiceDetail()
-
OnmsMonitoredServiceDetail
public OnmsMonitoredServiceDetail(OnmsMonitoredService service)
-
-
Method Detail
-
getStatus
public java.lang.String getStatus()
-
setStatus
public void setStatus(java.lang.String status)
-
getStatusCode
public java.lang.String getStatusCode()
-
setStatusCode
public void setStatusCode(java.lang.String statusCode)
-
getNodeLabel
public java.lang.String getNodeLabel()
-
setNodeLabel
public void setNodeLabel(java.lang.String nodeLabel)
-
getServiceName
public java.lang.String getServiceName()
-
setServiceName
public void setServiceName(java.lang.String serviceName)
-
getIpAddress
public java.net.InetAddress getIpAddress()
-
setIpAddress
public void setIpAddress(java.net.InetAddress ipAddress)
-
isMonitored
public boolean isMonitored()
-
isDown
public boolean isDown()
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
getIpInterfaceId
public java.lang.Integer getIpInterfaceId()
-
compareTo
public int compareTo(OnmsMonitoredServiceDetail o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<OnmsMonitoredServiceDetail>
-
-