public class SnmpConfigManager extends Object
Constructor and Description |
---|
SnmpConfigManager(SnmpConfig config)
Constructor for SnmpConfigManager.
|
Modifier and Type | Method and Description |
---|---|
protected static <T> boolean |
areEquals(T obj1,
T obj2)
Checks if the two objects are equal or not.
|
SnmpConfig |
getConfig()
getConfig
|
void |
mergeIntoConfig(Definition eventDef)
This is the exposed method for moving the data from a configureSNMP event
into the SnmpConfig from SnmpPeerFactory.
|
boolean |
removeDefinition(Definition definition)
Remove definition from the base config.
|
public SnmpConfigManager(SnmpConfig config)
Constructor for SnmpConfigManager.
config
- a SnmpConfig
object.public SnmpConfig getConfig()
getConfig
SnmpConfig
object.public void mergeIntoConfig(Definition eventDef)
eventDef
- a Definition
object.public boolean removeDefinition(Definition definition)
definition
- a @Definition
objectprotected static final <T> boolean areEquals(T obj1, T obj2)
obj1
- Object 1obj2
- Object 2Copyright © 2021. All rights reserved.