Package com.biglybt.ui.console.commands
Class Priority
java.lang.Object
com.biglybt.ui.console.commands.IConsoleCommand
com.biglybt.ui.console.commands.OptionsConsoleCommand
com.biglybt.ui.console.commands.Priority
the priority command changes the priority of files within a torrent
-
Nested Class Summary
Nested classes/interfaces inherited from class com.biglybt.ui.console.commands.IConsoleCommand
IConsoleCommand.TorrentComparator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(String commandName, ConsoleInput console, org.apache.commons.cli.CommandLine commandLine) execute using the specified command line.return high-level help about the commands supported by this object.void
printHelpExtra
(PrintStream out, List args) Methods inherited from class com.biglybt.ui.console.commands.OptionsConsoleCommand
execute, getOptions, getParser
Methods inherited from class com.biglybt.ui.console.commands.IConsoleCommand
expandVariable, getCommandName, getCommandNames, getDefaultSummaryFormat, getShortCommandName, getTorrentSummary, printHelp, printHelp
-
Field Details
-
NORMAL
private static final int NORMAL- See Also:
-
HIGH
private static final int HIGH- See Also:
-
DONOTDOWNLOAD
private static final int DONOTDOWNLOAD- See Also:
-
DELETE
private static final int DELETE- See Also:
-
priostr
-
newprio
private int newprio
-
-
Constructor Details
-
Priority
public Priority()
-
-
Method Details
-
getCommandDescriptions
Description copied from class:IConsoleCommand
return high-level help about the commands supported by this object.- Specified by:
getCommandDescriptions
in classIConsoleCommand
- Returns:
-
printHelpExtra
- Overrides:
printHelpExtra
in classOptionsConsoleCommand
-
execute
public void execute(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 classOptionsConsoleCommand
-