Package com.biglybt.ui.console.commands
Class TorrentLog
- java.lang.Object
-
- com.biglybt.ui.console.commands.IConsoleCommand
-
- com.biglybt.ui.console.commands.TorrentCommand
-
- com.biglybt.ui.console.commands.TorrentLog
-
- All Implemented Interfaces:
ILogEventListener
public class TorrentLog extends TorrentCommand implements ILogEventListener
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.biglybt.ui.console.commands.IConsoleCommand
IConsoleCommand.TorrentComparator
-
-
Field Summary
Fields Modifier and Type Field Description private static java.text.SimpleDateFormat
dateFormatter
private java.util.ArrayList
dms
private AEMonitor
dms_mon
private static java.text.FieldPosition
formatPos
private boolean
gm_listener_added
private int
mode
private static int
MODE_FLIP
private static int
MODE_OFF
private static int
MODE_ON
-
Constructor Summary
Constructors Constructor Description TorrentLog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(java.lang.String commandName, ConsoleInput ci, java.util.List<java.lang.String> args)
execute the command with the specified name using the specified argumentsjava.lang.String
getCommandDescriptions()
return high-level help about the commands supported by this object.void
log(LogEvent event)
A LogEvent has been generated.protected boolean
performCommand(ConsoleInput ci, DownloadManager dm, java.util.List args)
-
Methods inherited from class com.biglybt.ui.console.commands.TorrentCommand
getAction, performCommand, printHelpExtra
-
Methods inherited from class com.biglybt.ui.console.commands.IConsoleCommand
expandVariable, getCommandName, getCommandNames, getDefaultSummaryFormat, getShortCommandName, getTorrentSummary, printHelp, printHelp
-
-
-
-
Field Detail
-
MODE_OFF
private static int MODE_OFF
-
MODE_ON
private static int MODE_ON
-
MODE_FLIP
private static int MODE_FLIP
-
dateFormatter
private static java.text.SimpleDateFormat dateFormatter
-
formatPos
private static java.text.FieldPosition formatPos
-
mode
private int mode
-
dms_mon
private AEMonitor dms_mon
-
dms
private java.util.ArrayList dms
-
gm_listener_added
private boolean gm_listener_added
-
-
Method Detail
-
execute
public void execute(java.lang.String commandName, ConsoleInput ci, java.util.List<java.lang.String> args)
Description copied from class:IConsoleCommand
execute the command with the specified name using the specified arguments- Overrides:
execute
in classTorrentCommand
-
performCommand
protected boolean performCommand(ConsoleInput ci, DownloadManager dm, java.util.List args)
- Specified by:
performCommand
in classTorrentCommand
-
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:
-
log
public void log(LogEvent event)
Description copied from interface:ILogEventListener
A LogEvent has been generated.- Specified by:
log
in interfaceILogEventListener
- Parameters:
event
- The newly generated LogEvent
-
-