Package com.biglybt.ui.console.commands
Class Hack
- java.lang.Object
-
- com.biglybt.ui.console.commands.IConsoleCommand
-
- com.biglybt.ui.console.commands.TorrentCommand
-
- com.biglybt.ui.console.commands.Hack
-
public class Hack extends TorrentCommand
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
Hack.HackCategory
private static class
Hack.HackDownloadSpeed
private static class
Hack.HackFile
private static class
Hack.HackHost
private static class
Hack.HackPort
private static class
Hack.HackTag
private static class
Hack.HackTracker
private static class
Hack.HackUploads
private static class
Hack.HackUploadSpeed
private static class
Hack.HackURL
-
Nested classes/interfaces inherited from class com.biglybt.ui.console.commands.IConsoleCommand
IConsoleCommand.TorrentComparator
-
-
Field Summary
Fields Modifier and Type Field Description private CommandCollection
subCommands
-
Constructor Summary
Constructors Constructor Description Hack()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCommandDescriptions()
return high-level help about the commands supported by this object.protected boolean
performCommand(ConsoleInput ci, DownloadManager dm, java.util.List args)
finds the appropriate subcommand and executes it.void
printHelpExtra(java.io.PrintStream out, java.util.List args)
prints out the syntax of this command-
Methods inherited from class com.biglybt.ui.console.commands.TorrentCommand
execute, getAction, performCommand
-
Methods inherited from class com.biglybt.ui.console.commands.IConsoleCommand
expandVariable, getCommandName, getCommandNames, getDefaultSummaryFormat, getShortCommandName, getTorrentSummary, printHelp, printHelp
-
-
-
-
Field Detail
-
subCommands
private final CommandCollection subCommands
-
-
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)
Description copied from class:TorrentCommand
prints out the syntax of this command- Overrides:
printHelpExtra
in classTorrentCommand
-
performCommand
protected boolean performCommand(ConsoleInput ci, DownloadManager dm, java.util.List args)
finds the appropriate subcommand and executes it. the execute() method will have taken care of finding/iterating over the appropriate torrents- Specified by:
performCommand
in classTorrentCommand
-
-