|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.jnrpe.plugins.PluginDefinition
public class PluginDefinition
This object represent a plugin definition. It is used to describe to JNRPE which parameters a plugin supports
| Constructor Summary | |
|---|---|
PluginDefinition(String sName,
String sDescription,
Class<? extends IPluginInterface> pluginClass)
Initializes the plugin definition specifying the Class object that represent the plugin. |
|
PluginDefinition(String sName,
String sDescription,
IPluginInterface pluginInterface)
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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PluginDefinition(String sName,
String sDescription,
Class<? extends IPluginInterface> pluginClass)
sName - The plugin namesDescription - The plugin descriptionpluginClass - The plugin Class object
public PluginDefinition(String sName,
String sDescription,
IPluginInterface pluginInterface)
sName - The plugin namesDescription - The plugin descriptionpluginInterface - 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 | |||||||||