it.jnrpe.server.console
Class CommandExecutor

java.lang.Object
  extended by it.jnrpe.server.console.CommandExecutor

public class CommandExecutor
extends Object

This class is used to execute a command from the interactive console.

Author:
Massimiliano Ziccardi

Constructor Summary
CommandExecutor()
           
 
Method Summary
 boolean executeCommand(String commandLine)
           
static CommandExecutor getInstance(jline.console.ConsoleReader consoleReader, JNRPE jnrpe, IPluginRepository pluginRepository, CommandRepository commandRepository)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandExecutor

public CommandExecutor()
Method Detail

getInstance

public static CommandExecutor getInstance(jline.console.ConsoleReader consoleReader,
                                          JNRPE jnrpe,
                                          IPluginRepository pluginRepository,
                                          CommandRepository commandRepository)

executeCommand

public boolean executeCommand(String commandLine)
                       throws Exception
Throws:
Exception


Copyright © 2014. All Rights Reserved.