|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.CapsdProtocolInfo
public final class CapsdProtocolInfo
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.
| Nested Class Summary | |
|---|---|
static class |
CapsdProtocolInfo.Action
|
| Constructor Summary | |
|---|---|
CapsdProtocolInfo(String proto,
Plugin plugin,
Map<String,Object> params,
CapsdProtocolInfo.Action action)
Constructs a new protocol information element. |
|
| Method Summary | |
|---|---|
Map<String,Object> |
getParameters()
Returns the input parameters for the plugin |
Plugin |
getPlugin()
Returns the plugin module |
String |
getProtocol()
Returns the protocol name |
boolean |
isAutoEnabled()
Returns true if the configuration has this particular module set as automatically enabled. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CapsdProtocolInfo(String proto,
Plugin plugin,
Map<String,Object> params,
CapsdProtocolInfo.Action action)
proto - The protocol supported.plugin - The plugin moduleparams - The parameters for the plugin.action - The action to take.| Method Detail |
|---|
public String getProtocol()
public Plugin getPlugin()
public Map<String,Object> getParameters()
public boolean isAutoEnabled()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||