Class PerspectivePolledService
- java.lang.Object
-
- org.opennms.netmgt.perspectivepoller.PerspectivePolledService
-
public class PerspectivePolledService extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PerspectivePolledService(int nodeId, java.net.InetAddress ipAddress, java.lang.String serviceName, java.lang.String foreignSource, java.lang.String foreignId, java.lang.String nodeLabel, Package pkg, Package.ServiceMatch serviceMatch, ServiceMonitor serviceMonitor, java.lang.String perspectiveLocation, java.lang.String residentLocation, RrdRepository rrdRepository, ThresholdingSession thresholdingSession)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getForeignId()
java.lang.String
getForeignSource()
java.net.InetAddress
getIpAddress()
MonitoredService
getMonitoredService()
int
getNodeId()
java.lang.String
getNodeLabel()
java.util.Map<java.lang.String,java.lang.String>
getPatternVariables()
java.lang.String
getPerspectiveLocation()
Package
getPkg()
java.lang.String
getResidentLocation()
RrdRepository
getRrdRepository()
Service
getServiceConfig()
ServiceMonitor
getServiceMonitor()
java.lang.String
getServiceName()
ThresholdingSession
getThresholdingSession()
int
hashCode()
java.lang.String
toString()
boolean
updateStatus(PollStatus status)
-
-
-
Constructor Detail
-
PerspectivePolledService
public PerspectivePolledService(int nodeId, java.net.InetAddress ipAddress, java.lang.String serviceName, java.lang.String foreignSource, java.lang.String foreignId, java.lang.String nodeLabel, Package pkg, Package.ServiceMatch serviceMatch, ServiceMonitor serviceMonitor, java.lang.String perspectiveLocation, java.lang.String residentLocation, RrdRepository rrdRepository, ThresholdingSession thresholdingSession)
-
-
Method Detail
-
updateStatus
public boolean updateStatus(PollStatus status)
-
getNodeId
public int getNodeId()
-
getIpAddress
public java.net.InetAddress getIpAddress()
-
getServiceName
public java.lang.String getServiceName()
-
getForeignSource
public java.lang.String getForeignSource()
-
getForeignId
public java.lang.String getForeignId()
-
getNodeLabel
public java.lang.String getNodeLabel()
-
getPkg
public Package getPkg()
-
getServiceConfig
public Service getServiceConfig()
-
getPatternVariables
public java.util.Map<java.lang.String,java.lang.String> getPatternVariables()
-
getServiceMonitor
public ServiceMonitor getServiceMonitor()
-
getMonitoredService
public MonitoredService getMonitoredService()
-
getPerspectiveLocation
public java.lang.String getPerspectiveLocation()
-
getResidentLocation
public java.lang.String getResidentLocation()
-
getRrdRepository
public RrdRepository getRrdRepository()
-
getThresholdingSession
public ThresholdingSession getThresholdingSession()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-