|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.jnrpe.plugins.PluginDefinition
public final class PluginDefinition
This object represent a plugin definition. It is used to describe to JNRPE which parameters a plugin supports
| Constructor Summary | |
|---|---|
PluginDefinition(String pluginName,
String pluginDescription,
Class<? extends IPluginInterface> pluginClazz)
Initializes the plugin definition specifying the Class object that represent the plugin. |
|
PluginDefinition(String pluginName,
String pluginDescription,
IPluginInterface pluginInstance)
Initializes the plugin definition specifying a plugin instance. |
|
| Method Summary | |
|---|---|
PluginDefinition |
addOption(PluginOption option)
Adds a new option to the plugin. |
String |
getDescription()
Returns the plugin description. |
String |
getName()
Returns the plugin name. |
List<PluginOption> |
getOptions()
Returns all the plugin options. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PluginDefinition(String pluginName,
String pluginDescription,
Class<? extends IPluginInterface> pluginClazz)
pluginName - The plugin namepluginDescription - The plugin descriptionpluginClazz - The plugin Class object
public PluginDefinition(String pluginName,
String pluginDescription,
IPluginInterface pluginInstance)
pluginName - The plugin namepluginDescription - The plugin descriptionpluginInstance - The plugin instance| Method Detail |
|---|
public PluginDefinition addOption(PluginOption option)
option - The option
public String getName()
public List<PluginOption> getOptions()
public String getDescription()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||