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 IConsoleCommand
IConsoleCommand.TorrentComparator -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(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.voidprintHelpExtra(PrintStream out, List args) Methods inherited from class OptionsConsoleCommand
execute, getOptions, getParserMethods inherited from class 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:IConsoleCommandreturn high-level help about the commands supported by this object.- Specified by:
getCommandDescriptionsin classIConsoleCommand- Returns:
-
printHelpExtra
- Overrides:
printHelpExtrain classOptionsConsoleCommand
-
execute
public void execute(String commandName, ConsoleInput console, org.apache.commons.cli.CommandLine commandLine) Description copied from class:OptionsConsoleCommandexecute using the specified command line.- Specified by:
executein classOptionsConsoleCommand- Parameters:
commandName-console-commandLine-
-