org.gudy.azureus2.ui.console.commands
Class OptionsConsoleCommand
java.lang.Object
  
org.gudy.azureus2.ui.console.commands.IConsoleCommand
      
org.gudy.azureus2.ui.console.commands.OptionsConsoleCommand
- Direct Known Subclasses: 
 - AddFind, Alias, Log, Priority
 
public abstract class OptionsConsoleCommand
- extends IConsoleCommand
 
subclass of IConsoleCommand that allows the parameters to be defined using
 an Options object
- Author:
 
  - pauld
 
- See Also:
 Options
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
OptionsConsoleCommand
public OptionsConsoleCommand(String main_name)
OptionsConsoleCommand
public OptionsConsoleCommand(String main_name,
                             String short_name)
execute
public void execute(String commandName,
                    ConsoleInput console,
                    List arguments)
- take the args and try and create a command line object
- Specified by:
 execute in class IConsoleCommand
 
 
 
printHelpExtra
public void printHelpExtra(PrintStream out,
                           List args)
- Overrides:
 printHelpExtra in class IConsoleCommand
 
 
execute
public abstract void execute(String commandName,
                             ConsoleInput console,
                             org.apache.commons.cli.CommandLine commandLine)
- execute using the specified command line.
- Parameters:
 commandName - console - commandLine - 
 
 
getParser
protected org.apache.commons.cli.CommandLineParser getParser()
- Returns:
 
 
getOptions
protected org.apache.commons.cli.Options getOptions()