it.jnrpe.server.console
Class HelpCommand

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

public class HelpCommand
extends ConsoleCommand


Field Summary
static String NAME
           
 
Constructor Summary
HelpCommand(jline.console.ConsoleReader consoleReader, JNRPE jnrpe, Map<String,IConsoleCommand> commands)
           
 
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

HelpCommand

public HelpCommand(jline.console.ConsoleReader consoleReader,
                   JNRPE jnrpe,
                   Map<String,IConsoleCommand> commands)
Method Detail

execute

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

getName

public String getName()

getCommandLine

public String getCommandLine()

printHelp

public void printHelp()
               throws IOException
Throws:
IOException


Copyright © 2014. All Rights Reserved.