Package | Description |
---|---|
it.jnrpe.plugins |
This package contains the low level object that implements the NRPE protocol.
|
Modifier and Type | Method and Description |
---|---|
PluginOption |
PluginOption.setArgName(String sArgName)
Sets the name of the argument of this option.
|
PluginOption |
PluginOption.setArgsCount(Integer iArgCount)
Sets the number of arguments.
|
PluginOption |
PluginOption.setArgsOptional(Boolean bArgsOptional)
Sets if the arguments are mandatory.
|
PluginOption |
PluginOption.setDescription(String sDescription)
Sets the description of this option.
|
PluginOption |
PluginOption.setHasArgs(boolean bHasArgs)
Tells the option that it must accept an argument.
|
PluginOption |
PluginOption.setLongOpt(String sLongOpt)
Sets the long name of this option.
|
PluginOption |
PluginOption.setOption(String sOption)
Sets the option string.
|
PluginOption |
PluginOption.setRequired(boolean bRequired)
Set if the option is required.
|
PluginOption |
PluginOption.setType(String sType)
Sets the type of this option.
|
PluginOption |
PluginOption.setValueSeparator(String sValueSeparator)
Sets the value separator.
|
Modifier and Type | Method and Description |
---|---|
Collection<PluginOption> |
PluginProxy.getOptions()
Returns a collection of all the options accepted by this plugin.
|
List<PluginOption> |
PluginDefinition.getOptions()
Returns all the plugin options.
|
Modifier and Type | Method and Description |
---|---|
PluginDefinition |
PluginDefinition.addOption(PluginOption option)
Adds a new option to the plugin.
|
Copyright © 2013. All Rights Reserved.