it.jnrpe.server.console
Class CommandConsoleCommand

java.lang.Object
  extended by it.jnrpe.server.console.ConsoleCommand
      extended by it.jnrpe.server.console.CommandConsoleCommand
All Implemented Interfaces:
IConsoleCommand

public class CommandConsoleCommand
extends ConsoleCommand


Field Summary
static String NAME
           
 
Constructor Summary
CommandConsoleCommand(jline.console.ConsoleReader consoleReader, JNRPE jnrpe, String commandName, IPluginRepository pr, CommandRepository cr)
           
 
Method Summary
 boolean execute(String[] args)
           
 String getCommandLine()
           
 String getName()
           
 void printHelp()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

CommandConsoleCommand

public CommandConsoleCommand(jline.console.ConsoleReader consoleReader,
                             JNRPE jnrpe,
                             String commandName,
                             IPluginRepository pr,
                             CommandRepository cr)
Method Detail

execute

public boolean execute(String[] args)
                throws Exception
Throws:
Exception

getCommandLine

public String getCommandLine()

printHelp

public void printHelp()
               throws IOException
Throws:
IOException

getName

public String getName()


Copyright © 2014. All Rights Reserved.