org.opennms.netmgt.snmpinterfacepoller.pollable
Class PollableSnmpInterface

java.lang.Object
  extended by org.opennms.netmgt.snmpinterfacepoller.pollable.PollableSnmpInterface
All Implemented Interfaces:
Runnable, ReadyRunnable

public class PollableSnmpInterface
extends Object
implements ReadyRunnable


Nested Class Summary
 class PollableSnmpInterface.SnmpMinimalPollInterface
           
 
Constructor Summary
PollableSnmpInterface(PollableInterface parent)
           
 
Method Summary
protected  void delete()
           
 org.opennms.netmgt.snmp.SnmpAgentConfig getAgentConfig()
           
 Map<Integer,SnmpPoller.AlarmStatus> getAlarmStatus()
           
 PollContext getContext()
           
 String getCriteria()
           
 int getMaxInterfacePerPdu()
           
 String getName()
           
 PollableInterface getParent()
           
 Schedule getSchedule()
           
 Collection<OnmsSnmpInterface> getSnmpinterfaces()
           
 PollableSnmpInterfaceConfig getSnmppollableconfig()
           
 boolean isReady()
          Returns true if the runnable is ready to start.
 void run()
           
 void schedule()
           
 void setAgentConfig(org.opennms.netmgt.snmp.SnmpAgentConfig config)
           
 void setAlarmStatus(Map<Integer,SnmpPoller.AlarmStatus> alarmStatusMap)
           
 void setCriteria(String m_criteria)
           
 void setMaxInterfacePerPdu(int maxInterfacePerPdu)
           
 void setName(String name)
           
 void setSchedule(Schedule schedule)
           
 void setSnmpinterfaces(List<OnmsSnmpInterface> snmpinterfaces)
           
 void setSnmppollableconfig(PollableSnmpInterfaceConfig snmppollableconfig)
           
 boolean suppressAdminDownEvent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PollableSnmpInterface

public PollableSnmpInterface(PollableInterface parent)
Method Detail

getSnmpinterfaces

public Collection<OnmsSnmpInterface> getSnmpinterfaces()

setSnmpinterfaces

public void setSnmpinterfaces(List<OnmsSnmpInterface> snmpinterfaces)

getSchedule

public Schedule getSchedule()

setSchedule

public void setSchedule(Schedule schedule)

getSnmppollableconfig

public PollableSnmpInterfaceConfig getSnmppollableconfig()

setSnmppollableconfig

public void setSnmppollableconfig(PollableSnmpInterfaceConfig snmppollableconfig)

getParent

public PollableInterface getParent()

getContext

public PollContext getContext()

getName

public String getName()

setName

public void setName(String name)

isReady

public boolean isReady()
Description copied from interface: ReadyRunnable
Returns true if the runnable is ready to start.

Specified by:
isReady in interface ReadyRunnable

run

public void run()
Specified by:
run in interface Runnable

schedule

public void schedule()

delete

protected void delete()

getAgentConfig

public org.opennms.netmgt.snmp.SnmpAgentConfig getAgentConfig()

setAgentConfig

public void setAgentConfig(org.opennms.netmgt.snmp.SnmpAgentConfig config)

getCriteria

public String getCriteria()

setCriteria

public void setCriteria(String m_criteria)

suppressAdminDownEvent

public boolean suppressAdminDownEvent()

getMaxInterfacePerPdu

public int getMaxInterfacePerPdu()

setMaxInterfacePerPdu

public void setMaxInterfacePerPdu(int maxInterfacePerPdu)

getAlarmStatus

public Map<Integer,SnmpPoller.AlarmStatus> getAlarmStatus()

setAlarmStatus

public void setAlarmStatus(Map<Integer,SnmpPoller.AlarmStatus> alarmStatusMap)


Copyright © 2009. All Rights Reserved.