|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.netmgt.config.CapsdConfigFactory.ProtocolInfo
This class is used to encapsulate the basic protocol information read from the config file. The information includes the plugin, the protocol name, the merged parameters to the plugin, and the action to be taken.
Field Summary | |
private java.lang.Integer |
m_action
The integer value that represents the action that should be taken to poll the interface. |
private java.util.Map |
m_parameters
the map or parameters passed to the plugin |
private Plugin |
m_plugin
The plugin used to poll the interface |
private java.lang.String |
m_protocol
The name of the protocol supported by the plugin. |
Constructor Summary | |
CapsdConfigFactory.ProtocolInfo(java.lang.String proto,
Plugin plugin,
java.util.Map params,
java.lang.Integer action)
Constructs a new protocol information element. |
Method Summary | |
boolean |
autoEnabled()
Returns true if the configuration has this particular module set as automaticall enabled. |
java.util.Map |
getParameters()
Returns the input parameters for the plugin |
Plugin |
getPlugin()
Returns the plugin module |
java.lang.String |
getProtocol()
Returns the protocol name |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Plugin m_plugin
private java.lang.String m_protocol
private java.util.Map m_parameters
private java.lang.Integer m_action
Constructor Detail |
public CapsdConfigFactory.ProtocolInfo(java.lang.String proto, Plugin plugin, java.util.Map params, java.lang.Integer action)
proto
- The protocol supported.plugin
- The plugin moduleparams
- The parameters for the plugin.action
- The action to take.Method Detail |
public java.lang.String getProtocol()
public Plugin getPlugin()
public java.util.Map getParameters()
public boolean autoEnabled()
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |