org.apache.accumulo.core.util.shell.commands
Class WhoAmICommand

java.lang.Object
  extended by org.apache.accumulo.core.util.shell.Shell.Command
      extended by org.apache.accumulo.core.util.shell.commands.WhoAmICommand

public class WhoAmICommand
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
WhoAmICommand()
           
 
Method Summary
 String description()
           
 int execute(String fullCommand, org.apache.commons.cli.CommandLine cl, Shell shellState)
           
 int numArgs()
           
 
Methods inherited from class org.apache.accumulo.core.util.shell.Shell.Command
getName, getOptions, getOptionsWithHelp, printHelp, printHelp, registerCompletion, registerCompletionForCommands, registerCompletionForTables, registerCompletionForUsers, registerCompletionGeneral, usage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WhoAmICommand

public WhoAmICommand()
Method Detail

execute

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

description

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

numArgs

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


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