it.jnrpe.server.console
Class PluginCommand

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

public class PluginCommand
extends ConsoleCommand


Field Summary
static String NAME
           
 
Constructor Summary
PluginCommand(jline.console.ConsoleReader consoleReader, JNRPE jnrpe, String pluginName, IPluginRepository pr)
           
 
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

PluginCommand

public PluginCommand(jline.console.ConsoleReader consoleReader,
                     JNRPE jnrpe,
                     String pluginName,
                     IPluginRepository pr)
              throws UnknownPluginException
Throws:
UnknownPluginException
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.