org.gudy.azureus2.ui.console.commands
Class Priority

java.lang.Object
  extended by org.gudy.azureus2.ui.console.commands.IConsoleCommand
      extended by org.gudy.azureus2.ui.console.commands.OptionsConsoleCommand
          extended by org.gudy.azureus2.ui.console.commands.Priority

public class Priority
extends OptionsConsoleCommand

the priority command changes the priority of files within a torrent

Author:
dmohr

Nested Class Summary
 
Nested classes/interfaces inherited from class org.gudy.azureus2.ui.console.commands.IConsoleCommand
IConsoleCommand.TorrentComparator
 
Constructor Summary
Priority()
           
 
Method Summary
 void execute(java.lang.String commandName, ConsoleInput console, org.apache.commons.cli.CommandLine commandLine)
          execute using the specified command line.
 java.lang.String getCommandDescriptions()
          return high-level help about the commands supported by this object.
 void printHelpExtra(java.io.PrintStream out, java.util.List args)
           
 
Methods inherited from class org.gudy.azureus2.ui.console.commands.OptionsConsoleCommand
execute, getOptions, getParser
 
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

Priority

public Priority()
Method Detail

getCommandDescriptions

public java.lang.String getCommandDescriptions()
Description copied from class: IConsoleCommand
return high-level help about the commands supported by this object.

Specified by:
getCommandDescriptions in class IConsoleCommand
Returns:

printHelpExtra

public void printHelpExtra(java.io.PrintStream out,
                           java.util.List args)
Overrides:
printHelpExtra in class OptionsConsoleCommand

execute

public void execute(java.lang.String commandName,
                    ConsoleInput console,
                    org.apache.commons.cli.CommandLine commandLine)
Description copied from class: OptionsConsoleCommand
execute using the specified command line.

Specified by:
execute in class OptionsConsoleCommand