org.gudy.azureus2.ui.console.multiuser.commands
Class UserCommand

java.lang.Object
  extended by org.gudy.azureus2.ui.console.commands.IConsoleCommand
      extended by org.gudy.azureus2.ui.console.multiuser.commands.UserCommand

public class UserCommand
extends IConsoleCommand

container command for commands that deal with the add/modify/delete of users

Author:
pauld

Nested Class Summary
 
Nested classes/interfaces inherited from class org.gudy.azureus2.ui.console.commands.IConsoleCommand
IConsoleCommand.TorrentComparator
 
Constructor Summary
UserCommand(UserManager userManager)
           
 
Method Summary
 void execute(String commandName, ConsoleInput ci, List args)
          determine the correct subcommand and execute it
 String getCommandDescriptions()
          returns the string describing how this command can be used
 void printHelpExtra(PrintStream out, List args)
          prints out the help message showing the syntax for all subcommands
 
Methods inherited from class org.gudy.azureus2.ui.console.commands.IConsoleCommand
expandVariable, getCommandName, getCommandNames, getDefaultSummaryFormat, getShortCommandName, getTorrentSummary, printHelp, printHelp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserCommand

public UserCommand(UserManager userManager)
Parameters:
_commandNames -
Method Detail

getCommandDescriptions

public String getCommandDescriptions()
returns the string describing how this command can be used

Specified by:
getCommandDescriptions in class IConsoleCommand
Returns:

execute

public void execute(String commandName,
                    ConsoleInput ci,
                    List args)
determine the correct subcommand and execute it

Specified by:
execute in class IConsoleCommand

printHelpExtra

public void printHelpExtra(PrintStream out,
                           List args)
prints out the help message showing the syntax for all subcommands

Overrides:
printHelpExtra in class IConsoleCommand