Package org.opennms.netmgt.model
Class OnmsMonitoredServiceDetail
- java.lang.Object
-
- org.opennms.netmgt.model.OnmsMonitoredServiceDetail
-
- All Implemented Interfaces:
Serializable
,Comparable<OnmsMonitoredServiceDetail>
public class OnmsMonitoredServiceDetail extends Object implements Serializable, 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)
String
getId()
InetAddress
getIpAddress()
Integer
getIpInterfaceId()
String
getNodeLabel()
String
getServiceName()
String
getStatus()
String
getStatusCode()
boolean
isDown()
boolean
isMonitored()
void
setId(String id)
void
setIpAddress(InetAddress ipAddress)
void
setNodeLabel(String nodeLabel)
void
setServiceName(String serviceName)
void
setStatus(String status)
void
setStatusCode(String statusCode)
-
-
-
Constructor Detail
-
OnmsMonitoredServiceDetail
public OnmsMonitoredServiceDetail()
-
OnmsMonitoredServiceDetail
public OnmsMonitoredServiceDetail(OnmsMonitoredService service)
-
-
Method Detail
-
getStatus
public String getStatus()
-
setStatus
public void setStatus(String status)
-
getStatusCode
public String getStatusCode()
-
setStatusCode
public void setStatusCode(String statusCode)
-
getNodeLabel
public String getNodeLabel()
-
setNodeLabel
public void setNodeLabel(String nodeLabel)
-
getServiceName
public String getServiceName()
-
setServiceName
public void setServiceName(String serviceName)
-
getIpAddress
public InetAddress getIpAddress()
-
setIpAddress
public void setIpAddress(InetAddress ipAddress)
-
isMonitored
public boolean isMonitored()
-
isDown
public boolean isDown()
-
getId
public String getId()
-
setId
public void setId(String id)
-
getIpInterfaceId
public Integer getIpInterfaceId()
-
compareTo
public int compareTo(OnmsMonitoredServiceDetail o)
- Specified by:
compareTo
in interfaceComparable<OnmsMonitoredServiceDetail>
-
-