Class PollableSnmpInterface
- java.lang.Object
- 
- org.opennms.netmgt.snmpinterfacepoller.pollable.PollableSnmpInterface
 
- 
- All Implemented Interfaces:
- Runnable,- ReadyRunnable
 
 public class PollableSnmpInterface extends Object implements ReadyRunnable Represents a PollableSnmpInterface- Version:
- $Id: $
- Author:
- Antonio Russo
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classPollableSnmpInterface.SnmpMinimalPollInterface
 - 
Constructor SummaryConstructors Constructor Description PollableSnmpInterface(PollableInterface parent)Constructor for PollableSnmpInterface.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddelete()deleteSnmpAgentConfiggetAgentConfig()getAgentConfigPollContextgetContext()getContextStringgetCriteria()getCriteriaSet<SnmpInterfaceStatus>getDownValues()getDownValuesintgetMaxInterfacePerPdu()Getter for the fieldmaxInterfacePerPdu.StringgetName()getNamePollableInterfacegetParent()getParentSchedulegetSchedule()getScheduleCollection<OnmsSnmpInterface>getSnmpinterfaces()getSnmpinterfacesPollableSnmpInterfaceConfiggetSnmppollableconfig()getSnmppollableconfigSet<SnmpInterfaceStatus>getUpValues()getUpValuesbooleanisReady()isReadyvoidrun()runvoidschedule()schedulevoidsetAgentConfig(SnmpAgentConfig config)setAgentConfigvoidsetCriteria(String m_criteria)setCriteriavoidsetDownValues(Set<SnmpInterfaceStatus> downValues)setDownValuesvoidsetName(String name)setNamevoidsetSchedule(Schedule schedule)setSchedulevoidsetSnmpinterfaces(List<OnmsSnmpInterface> snmpinterfaces)setSnmpinterfacesvoidsetSnmppollableconfig(PollableSnmpInterfaceConfig snmppollableconfig)setSnmppollableconfigvoidsetUpValues(Set<SnmpInterfaceStatus> upValues)setUpValues
 
- 
- 
- 
Constructor Detail- 
PollableSnmpInterfacepublic PollableSnmpInterface(PollableInterface parent) Constructor for PollableSnmpInterface. - Parameters:
- parent- a- PollableInterfaceobject.
 
 
- 
 - 
Method Detail- 
getSnmpinterfacespublic Collection<OnmsSnmpInterface> getSnmpinterfaces() getSnmpinterfaces - Returns:
- a Collectionobject.
 
 - 
setSnmpinterfacespublic void setSnmpinterfaces(List<OnmsSnmpInterface> snmpinterfaces) setSnmpinterfaces - Parameters:
- snmpinterfaces- a- Listobject.
 
 - 
setSchedulepublic void setSchedule(Schedule schedule) setSchedule - Parameters:
- schedule- a- Scheduleobject.
 
 - 
getSnmppollableconfigpublic PollableSnmpInterfaceConfig getSnmppollableconfig() getSnmppollableconfig - Returns:
- a PollableSnmpInterfaceConfigobject.
 
 - 
setSnmppollableconfigpublic void setSnmppollableconfig(PollableSnmpInterfaceConfig snmppollableconfig) setSnmppollableconfig - Parameters:
- snmppollableconfig- a- PollableSnmpInterfaceConfigobject.
 
 - 
getParentpublic PollableInterface getParent() getParent - Returns:
- a PollableInterfaceobject.
 
 - 
getContextpublic PollContext getContext() getContext - Returns:
- a PollContextobject.
 
 - 
isReadypublic boolean isReady() isReady - Specified by:
- isReadyin interface- ReadyRunnable
- Returns:
- a boolean.
 
 - 
schedulepublic void schedule() schedule 
 - 
deleteprotected void delete() delete 
 - 
getAgentConfigpublic SnmpAgentConfig getAgentConfig() getAgentConfig - Returns:
- a SnmpAgentConfigobject.
 
 - 
setAgentConfigpublic void setAgentConfig(SnmpAgentConfig config) setAgentConfig - Parameters:
- config- a- SnmpAgentConfigobject.
 
 - 
setCriteriapublic void setCriteria(String m_criteria) setCriteria - Parameters:
- m_criteria- a- Stringobject.
 
 - 
getMaxInterfacePerPdupublic int getMaxInterfacePerPdu() Getter for the field maxInterfacePerPdu.- Returns:
- a int.
 
 - 
getUpValuespublic Set<SnmpInterfaceStatus> getUpValues() getUpValues - Returns:
- a Setobject ofSnmpInterfaceStatusobjects.
 
 - 
setUpValuespublic void setUpValues(Set<SnmpInterfaceStatus> upValues) setUpValues - Parameters:
- upValues- a- Setobject of- SnmpInterfaceStatusobjects.
 
 - 
getDownValuespublic Set<SnmpInterfaceStatus> getDownValues() getDownValues - Returns:
- a Setobject ofSnmpInterfaceStatusobjects.
 
 - 
setDownValuespublic void setDownValues(Set<SnmpInterfaceStatus> downValues) setDownValues - Parameters:
- downValues- a- Setobject of- SnmpInterfaceStatusobjects.
 
 
- 
 
-