|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use CommandDefinition | |
|---|---|
| it.jnrpe.commands | This package contains all the classes reguarding the commands management. |
| Uses of CommandDefinition in it.jnrpe.commands |
|---|
| Methods in it.jnrpe.commands that return CommandDefinition | |
|---|---|
CommandDefinition |
CommandDefinition.addArgument(CommandOption arg)
Adds an option to the command definition. |
CommandDefinition |
CommandRepository.getCommand(String commandName)
Returns the named command definition. |
| Methods in it.jnrpe.commands that return types with arguments of type CommandDefinition | |
|---|---|
Set<CommandDefinition> |
CommandRepository.getAllCommandDefinition(String pluginName)
Returns all the command definition that involves the given plugin. |
Collection<CommandDefinition> |
CommandRepository.getAllCommands()
|
| Methods in it.jnrpe.commands with parameters of type CommandDefinition | |
|---|---|
void |
CommandRepository.addCommandDefinition(CommandDefinition commandDef)
Adds a new command definition to the repository. |
ReturnValue |
CommandInvoker.invoke(CommandDefinition cd,
String[] argsAry)
This method executes external commands (plugins) The methods also expands the $ARG?$ macros. |
void |
CommandRepository.removeCommandDefinition(CommandDefinition commandDef)
Remove the given command definition from the command repository object. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||