voldemort.tools.admin.command
Class AdminCommand

java.lang.Object
  extended by voldemort.tools.admin.command.AbstractAdminCommand
      extended by voldemort.tools.admin.command.AdminCommand

public class AdminCommand
extends AbstractAdminCommand

Implements all admin commands.


Constructor Summary
AdminCommand()
           
 
Method Summary
static void executeCommand(java.lang.String[] args)
          Parses command-line and directs to command groups or non-grouped sub-commands.
static void executeHelp(java.lang.String[] args, java.io.PrintStream stream)
          Parses command-line input and prints help menu.
static void printHelp(java.io.PrintStream stream)
          Prints command-line help menu.
 
Methods inherited from class voldemort.tools.admin.command.AbstractAdminCommand
getParser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminCommand

public AdminCommand()
Method Detail

executeCommand

public static void executeCommand(java.lang.String[] args)
                           throws java.lang.Exception
Parses command-line and directs to command groups or non-grouped sub-commands.

Parameters:
args - Command-line input
Throws:
java.lang.Exception

printHelp

public static void printHelp(java.io.PrintStream stream)
Prints command-line help menu.


executeHelp

public static void executeHelp(java.lang.String[] args,
                               java.io.PrintStream stream)
                        throws java.lang.Exception
Parses command-line input and prints help menu.

Throws:
java.lang.Exception


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu