Class NodeScanSchedule
- java.lang.Object
-
- org.opennms.netmgt.provision.service.NodeScanSchedule
-
public class NodeScanSchedule extends java.lang.ObjectNodeScanSchedule 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.StringgetForeignId()getForeignIdjava.lang.StringgetForeignSource()getForeignSourceorg.joda.time.DurationgetInitialDelay()getInitialDelayOnmsMonitoringLocationgetLocation()intgetNodeId()getNodeIdorg.joda.time.DurationgetScanInterval()getScanIntervalinthashCode()hashCodejava.lang.StringtoString()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- aStringobject.foreignId- aStringobject.initialDelay- aDurationobject.scanInterval- aDurationobject.
-
-
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:
toStringin classjava.lang.Object- Returns:
- a
Stringobject.
-
hashCode
public int hashCode()
hashCode
- Overrides:
hashCodein classjava.lang.Object- Returns:
- a int.
-
-