org.apache.accumulo.core.util.shell
Class Shell.MasterStateCommand

java.lang.Object
  extended by org.apache.accumulo.core.util.shell.Shell.Command
      extended by org.apache.accumulo.core.util.shell.Shell.MasterStateCommand
Enclosing class:
Shell

public static class Shell.MasterStateCommand
extends Shell.Command


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.accumulo.core.util.shell.Shell.Command
Shell.Command.CompletionSet
 
Constructor Summary
Shell.MasterStateCommand()
           
 
Method Summary
 java.lang.String description()
           
 int execute(java.lang.String fullCommand, org.apache.commons.cli.CommandLine cl, Shell shellState)
           
 int numArgs()
           
 java.lang.String usage()
           
 
Methods inherited from class org.apache.accumulo.core.util.shell.Shell.Command
getName, getOptions, getOptionsWithHelp, printHelp, registerCompletion, registerCompletionForCommands, registerCompletionForTables, registerCompletionForUsers, registerCompletionGeneral
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Shell.MasterStateCommand

public Shell.MasterStateCommand()
Method Detail

description

public java.lang.String description()
Specified by:
description in class Shell.Command

execute

public int execute(java.lang.String fullCommand,
                   org.apache.commons.cli.CommandLine cl,
                   Shell shellState)
            throws java.lang.Exception
Specified by:
execute in class Shell.Command
Throws:
java.lang.Exception

usage

public java.lang.String usage()
Overrides:
usage in class Shell.Command

numArgs

public int numArgs()
Specified by:
numArgs in class Shell.Command


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.