public class PollableSnmpInterface extends Object implements ReadyRunnable
Modifier and Type | Class and Description |
---|---|
static class |
PollableSnmpInterface.SnmpMinimalPollInterface |
Constructor and Description |
---|
PollableSnmpInterface(PollableInterface parent)
Constructor for PollableSnmpInterface.
|
Modifier and Type | Method and Description |
---|---|
protected void |
delete()
delete
|
SnmpAgentConfig |
getAgentConfig()
getAgentConfig
|
PollContext |
getContext()
getContext
|
String |
getCriteria()
getCriteria
|
Set<SnmpInterfaceStatus> |
getDownValues()
getDownValues
|
int |
getMaxInterfacePerPdu()
Getter for the field
maxInterfacePerPdu . |
String |
getName()
getName
|
PollableInterface |
getParent()
getParent
|
Schedule |
getSchedule()
getSchedule
|
Collection<OnmsSnmpInterface> |
getSnmpinterfaces()
getSnmpinterfaces
|
PollableSnmpInterfaceConfig |
getSnmppollableconfig()
getSnmppollableconfig
|
Set<SnmpInterfaceStatus> |
getUpValues()
getUpValues
|
boolean |
isReady()
isReady
|
void |
run()
run
|
void |
schedule()
schedule
|
void |
setAgentConfig(SnmpAgentConfig config)
setAgentConfig
|
void |
setCriteria(String m_criteria)
setCriteria
|
void |
setDownValues(Set<SnmpInterfaceStatus> downValues)
setDownValues
|
void |
setName(String name)
setName
|
void |
setSchedule(Schedule schedule)
setSchedule
|
void |
setSnmpinterfaces(List<OnmsSnmpInterface> snmpinterfaces)
setSnmpinterfaces
|
void |
setSnmppollableconfig(PollableSnmpInterfaceConfig snmppollableconfig)
setSnmppollableconfig
|
void |
setUpValues(Set<SnmpInterfaceStatus> upValues)
setUpValues
|
public PollableSnmpInterface(PollableInterface parent)
Constructor for PollableSnmpInterface.
parent
- a PollableInterface
object.public Collection<OnmsSnmpInterface> getSnmpinterfaces()
getSnmpinterfaces
Collection
object.public void setSnmpinterfaces(List<OnmsSnmpInterface> snmpinterfaces)
setSnmpinterfaces
snmpinterfaces
- a List
object.public void setSchedule(Schedule schedule)
setSchedule
schedule
- a Schedule
object.public PollableSnmpInterfaceConfig getSnmppollableconfig()
getSnmppollableconfig
PollableSnmpInterfaceConfig
object.public void setSnmppollableconfig(PollableSnmpInterfaceConfig snmppollableconfig)
setSnmppollableconfig
snmppollableconfig
- a PollableSnmpInterfaceConfig
object.public PollableInterface getParent()
getParent
PollableInterface
object.public PollContext getContext()
getContext
PollContext
object.public boolean isReady()
isReady
isReady
in interface ReadyRunnable
public void schedule()
schedule
protected void delete()
delete
public SnmpAgentConfig getAgentConfig()
getAgentConfig
SnmpAgentConfig
object.public void setAgentConfig(SnmpAgentConfig config)
setAgentConfig
config
- a SnmpAgentConfig
object.public void setCriteria(String m_criteria)
setCriteria
m_criteria
- a String
object.public int getMaxInterfacePerPdu()
Getter for the field maxInterfacePerPdu
.
public Set<SnmpInterfaceStatus> getUpValues()
getUpValues
Set
object of SnmpInterfaceStatus
objects.public void setUpValues(Set<SnmpInterfaceStatus> upValues)
setUpValues
upValues
- a Set
object of SnmpInterfaceStatus
objects.public Set<SnmpInterfaceStatus> getDownValues()
getDownValues
Set
object of SnmpInterfaceStatus
objects.public void setDownValues(Set<SnmpInterfaceStatus> downValues)
setDownValues
downValues
- a Set
object of SnmpInterfaceStatus
objects.Copyright © 2021. All rights reserved.