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(java.lang.String commandName, ConsoleInput ci, java.util.List args)
          determine the correct subcommand and execute it
 java.lang.String getCommandDescriptions()
          returns the string describing how this command can be used
 void printHelpExtra(java.io.PrintStream out, java.util.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 java.lang.String getCommandDescriptions()
returns the string describing how this command can be used

Specified by:
getCommandDescriptions in class IConsoleCommand
Returns:

execute

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

Specified by:
execute in class IConsoleCommand

printHelpExtra

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

Overrides:
printHelpExtra in class IConsoleCommand