Class NodeScanSchedule


  • public class NodeScanSchedule
    extends java.lang.Object

    NodeScanSchedule class.

    Version:
    $Id: $
    Author:
    ranger
    • 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 - a String object.
        foreignId - a String object.
        initialDelay - a Duration object.
        scanInterval - a Duration 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
      • 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 class java.lang.Object
        Returns:
        a String object.
      • hashCode

        public int hashCode()

        hashCode

        Overrides:
        hashCode in class java.lang.Object
        Returns:
        a int.