Class NodeScanSchedule
- java.lang.Object
-
- org.opennms.netmgt.provision.service.NodeScanSchedule
-
public class NodeScanSchedule extends java.lang.Object
NodeScanSchedule class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description NodeScanSchedule(int nodeId, java.lang.String foreignSource, java.lang.String foreignId, OnmsMonitoringLocation location, org.joda.time.Duration initialDelay, org.joda.time.Duration scanInterval)
Constructor for NodeScanSchedule.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getForeignId()
getForeignIdjava.lang.String
getForeignSource()
getForeignSourceorg.joda.time.Duration
getInitialDelay()
getInitialDelayOnmsMonitoringLocation
getLocation()
int
getNodeId()
getNodeIdorg.joda.time.Duration
getScanInterval()
getScanIntervalint
hashCode()
hashCodejava.lang.String
toString()
toString
-
-
-
Constructor Detail
-
NodeScanSchedule
public NodeScanSchedule(int nodeId, java.lang.String foreignSource, java.lang.String foreignId, OnmsMonitoringLocation location, org.joda.time.Duration initialDelay, org.joda.time.Duration scanInterval)
Constructor for NodeScanSchedule.
- Parameters:
nodeId
- a int.foreignSource
- aString
object.foreignId
- aString
object.initialDelay
- aDuration
object.scanInterval
- aDuration
object.
-
-
Method Detail
-
getForeignId
public java.lang.String getForeignId()
getForeignId
- Returns:
- the foreignId
-
getNodeId
public int getNodeId()
getNodeId
- Returns:
- the nodeId
-
getForeignSource
public java.lang.String getForeignSource()
getForeignSource
- Returns:
- the foreignSource
-
getLocation
public OnmsMonitoringLocation getLocation()
-
getInitialDelay
public org.joda.time.Duration getInitialDelay()
getInitialDelay
- Returns:
- the initialDelay
-
getScanInterval
public org.joda.time.Duration getScanInterval()
getScanInterval
- Returns:
- the scanInterval
-
toString
public java.lang.String toString()
toString
- Overrides:
toString
in classjava.lang.Object
- Returns:
- a
String
object.
-
hashCode
public int hashCode()
hashCode
- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- a int.
-
-