|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.SnmpConfigManager
public class SnmpConfigManager
This class handles merging a new Definition into the current running SNMP Configuration.
| Constructor Summary | |
|---|---|
SnmpConfigManager(SnmpConfig config)
|
|
| Method Summary | |
|---|---|
protected org.opennms.netmgt.config.MergeableDefinition |
findDefMatchingAttributes(Definition eventDef)
This method is used to find a definition with then current config that matches the attributes of a Definition. |
SnmpConfig |
getConfig()
|
void |
mergeIntoConfig(Definition eventDef)
This is the exposed method for moving the data from a configureSNMP event into the SnmpConfig from SnmpPeerFactory. |
void |
optimizeAllDefs()
Optimize all definitions in the current configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SnmpConfigManager(SnmpConfig config)
| Method Detail |
|---|
public SnmpConfig getConfig()
public void mergeIntoConfig(Definition eventDef)
config - protected org.opennms.netmgt.config.MergeableDefinition findDefMatchingAttributes(Definition eventDef)
eventDef -
public void optimizeAllDefs()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||