it.jnrpe.commands
Class CommandRepository
java.lang.Object
it.jnrpe.commands.CommandRepository
public class CommandRepository
- extends Object
This object manages all the configured commands.
- Author:
- Massimiliano Ziccardi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandRepository
public CommandRepository()
addCommandDefinition
public void addCommandDefinition(CommandDefinition commandDef)
- Adds a new command definition to the repository
- Parameters:
commandDef -
getCommand
public CommandDefinition getCommand(String sName)
- Returns the named command definition
- Parameters:
sName - The command name
- Returns:
Copyright © 2012. All Rights Reserved.