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

Represents a PollableSnmpInterface

Version:
$Id: $
Author:
Antonio Russo

Nested Class Summary
 class PollableSnmpInterface.SnmpMinimalPollInterface
           
 
Constructor Summary
PollableSnmpInterface(PollableInterface parent)
          Constructor for PollableSnmpInterface.
 
Method Summary
protected  void delete()
          delete
 SnmpAgentConfig getAgentConfig()
          getAgentConfig
 PollContext getContext()
          getContext
 String getCriteria()
          getCriteria
 int getMaxInterfacePerPdu()
          Getter for the field maxInterfacePerPdu.
 String getName()
          getName
 PollableInterface getParent()
          getParent
 Schedule getSchedule()
          getSchedule
 Collection<OnmsSnmpInterface> getSnmpinterfaces()
          getSnmpinterfaces
 PollableSnmpInterfaceConfig getSnmppollableconfig()
          getSnmppollableconfig
 boolean isReady()
          isReady
 void run()
          run
 void schedule()
          schedule
 void setAgentConfig(SnmpAgentConfig config)
          setAgentConfig
 void setCriteria(String m_criteria)
          setCriteria
 void setName(String name)
          setName
 void setSchedule(Schedule schedule)
          setSchedule
 void setSnmpinterfaces(List<OnmsSnmpInterface> snmpinterfaces)
          setSnmpinterfaces
 void setSnmppollableconfig(PollableSnmpInterfaceConfig snmppollableconfig)
          setSnmppollableconfig
 
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)

Constructor for PollableSnmpInterface.

Parameters:
parent - a PollableInterface object.
Method Detail

getSnmpinterfaces

public Collection<OnmsSnmpInterface> getSnmpinterfaces()

getSnmpinterfaces

Returns:
a Collection object.

setSnmpinterfaces

public void setSnmpinterfaces(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.

getSnmppollableconfig

public PollableSnmpInterfaceConfig getSnmppollableconfig()

getSnmppollableconfig

Returns:
a PollableSnmpInterfaceConfig object.

setSnmppollableconfig

public void setSnmppollableconfig(PollableSnmpInterfaceConfig snmppollableconfig)

setSnmppollableconfig

Parameters:
snmppollableconfig - a PollableSnmpInterfaceConfig object.

getParent

public PollableInterface getParent()

getParent

Returns:
a PollableInterface object.

getContext

public PollContext getContext()

getContext

Returns:
a PollContext object.

getName

public String getName()

getName

Returns:
a String object.

setName

public void setName(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 Runnable

schedule

public void schedule()

schedule


delete

protected void delete()

delete


getAgentConfig

public SnmpAgentConfig getAgentConfig()

getAgentConfig

Returns:
a SnmpAgentConfig object.

setAgentConfig

public void setAgentConfig(SnmpAgentConfig config)

setAgentConfig

Parameters:
config - a SnmpAgentConfig object.

getCriteria

public String getCriteria()

getCriteria

Returns:
a String object.

setCriteria

public void setCriteria(String m_criteria)

setCriteria

Parameters:
m_criteria - a String object.

getMaxInterfacePerPdu

public int getMaxInterfacePerPdu()

Getter for the field maxInterfacePerPdu.

Returns:
a int.


Copyright © 2011. All Rights Reserved.