Class PollableSnmpInterface

  • All Implemented Interfaces:
    java.lang.Runnable, ReadyRunnable

    public class PollableSnmpInterface
    extends java.lang.Object
    implements ReadyRunnable
    Represents a PollableSnmpInterface
    Version:
    $Id: $
    Author:
    Antonio Russo
    • Constructor Detail

      • PollableSnmpInterface

        public PollableSnmpInterface​(PollableInterface parent)

        Constructor for PollableSnmpInterface.

        Parameters:
        parent - a PollableInterface object.
    • Method Detail

      • getSnmpinterfaces

        public java.util.Collection<OnmsSnmpInterface> getSnmpinterfaces()

        getSnmpinterfaces

        Returns:
        a Collection object.
      • setSnmpinterfaces

        public void setSnmpinterfaces​(java.util.List<OnmsSnmpInterface> snmpinterfaces)

        setSnmpinterfaces

        Parameters:
        snmpinterfaces - a List object.
      • getSchedule

        public Schedule getSchedule()

        getSchedule

        Returns:
        a Schedule object.
      • setSchedule

        public void setSchedule​(Schedule schedule)

        setSchedule

        Parameters:
        schedule - a Schedule object.
      • getName

        public java.lang.String getName()

        getName

        Returns:
        a String object.
      • setName

        public void setName​(java.lang.String name)

        setName

        Parameters:
        name - a String object.
      • isReady

        public boolean isReady()

        isReady

        Specified by:
        isReady in interface ReadyRunnable
        Returns:
        a boolean.
      • run

        public void run()

        run

        Specified by:
        run in interface java.lang.Runnable
      • schedule

        public void schedule()

        schedule

      • delete

        protected void delete()

        delete

      • getCriteria

        public java.lang.String getCriteria()

        getCriteria

        Returns:
        a String object.
      • setCriteria

        public void setCriteria​(java.lang.String m_criteria)

        setCriteria

        Parameters:
        m_criteria - a String object.
      • getMaxInterfacePerPdu

        public int getMaxInterfacePerPdu()

        Getter for the field maxInterfacePerPdu.

        Returns:
        a int.