Class NodeScanSchedule


  • public class NodeScanSchedule
    extends Object

    NodeScanSchedule class.

    Version:
    $Id: $
    Author:
    ranger
    • Constructor Detail

      • NodeScanSchedule

        public NodeScanSchedule​(int nodeId,
                                String foreignSource,
                                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 String getForeignId()

        getForeignId

        Returns:
        the foreignId
      • getNodeId

        public int getNodeId()

        getNodeId

        Returns:
        the nodeId
      • getForeignSource

        public 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
      • hashCode

        public int hashCode()

        hashCode

        Overrides:
        hashCode in class Object
        Returns:
        a int.