|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvoldemort.tools.admin.command.AbstractAdminCommand
public abstract class AbstractAdminCommand
Abstract class that defines admin commands
Constructor Summary | |
---|---|
AbstractAdminCommand()
|
Method Summary | |
---|---|
static void |
executeCommand(java.lang.String[] args)
Parses command-line and executes command with arguments. |
static void |
executeHelp(java.lang.String[] args,
java.io.PrintStream stream)
Parses command-line and decides what help menu to be printed out. |
protected static joptsimple.OptionParser |
getParser()
Initializes parser |
static void |
printHelp(java.io.PrintStream stream)
Prints help menu for command. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractAdminCommand()
Method Detail |
---|
protected static joptsimple.OptionParser getParser() throws java.lang.Exception
java.lang.Exception
public static void printHelp(java.io.PrintStream stream) throws java.lang.Exception
args
- Array of arguments for this command
java.lang.Exception
public static void executeHelp(java.lang.String[] args, java.io.PrintStream stream) throws java.lang.Exception
args
- Array of arguments for this command
java.lang.Exception
public static void executeCommand(java.lang.String[] args) throws java.lang.Exception
args
- Array of arguments for this command
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |