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
-
public class Priority extends OptionsConsoleCommand
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
-
-
Constructor Summary
Constructors Constructor Description Priority()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 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 Detail
-
NORMAL
private static final int NORMAL
- See Also:
- Constant Field Values
-
HIGH
private static final int HIGH
- See Also:
- Constant Field Values
-
DONOTDOWNLOAD
private static final int DONOTDOWNLOAD
- See Also:
- Constant Field Values
-
DELETE
private static final int DELETE
- See Also:
- Constant Field Values
-
priostr
private static final java.lang.String[] priostr
-
newprio
private int newprio
-
-
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 classIConsoleCommand
- Returns:
-
printHelpExtra
public void printHelpExtra(java.io.PrintStream out, java.util.List args)
- Overrides:
printHelpExtra
in classOptionsConsoleCommand
-
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 classOptionsConsoleCommand
-
-