it.jnrpe.commands
Class CommandDefinition
java.lang.Object
it.jnrpe.commands.CommandDefinition
public class CommandDefinition
- extends Object
Container class for command definition configuration
- Author:
- Massimiliano Ziccardi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandDefinition
public CommandDefinition(String sName,
String sPluginName)
setArgs
public void setArgs(String sArgs)
getName
public String getName()
getPluginName
public String getPluginName()
getArgs
public String getArgs()
getCommandLine
public String[] getCommandLine()
- Merges the command line definition read from the server config file
with the values received from check_nrpe and produces a clean command line.
- Returns:
addArgument
public CommandDefinition addArgument(CommandOption arg)
Copyright © 2012. All Rights Reserved.