org.gudy.azureus2.ui.console.commands
Class TorrentLog

java.lang.Object
  extended by org.gudy.azureus2.ui.console.commands.IConsoleCommand
      extended by org.gudy.azureus2.ui.console.commands.TorrentCommand
          extended by org.gudy.azureus2.ui.console.commands.TorrentLog
All Implemented Interfaces:
ILogEventListener

public class TorrentLog
extends TorrentCommand
implements ILogEventListener

Author:
TuxPaper

Nested Class Summary
 
Nested classes/interfaces inherited from class org.gudy.azureus2.ui.console.commands.IConsoleCommand
IConsoleCommand.TorrentComparator
 
Constructor Summary
TorrentLog()
           
 
Method Summary
 void execute(String commandName, ConsoleInput ci, List<String> args)
          execute the command with the specified name using the specified arguments
 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, List args)
           
 
Methods inherited from class org.gudy.azureus2.ui.console.commands.TorrentCommand
getAction, performCommand, printHelpExtra
 
Methods inherited from class org.gudy.azureus2.ui.console.commands.IConsoleCommand
expandVariable, getCommandName, getCommandNames, getDefaultSummaryFormat, getShortCommandName, getTorrentSummary, printHelp, printHelp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TorrentLog

public TorrentLog()
Parameters:
commandNames -
action -
Method Detail

execute

public void execute(String commandName,
                    ConsoleInput ci,
                    List<String> args)
Description copied from class: IConsoleCommand
execute the command with the specified name using the specified arguments

Overrides:
execute in class TorrentCommand

performCommand

protected boolean performCommand(ConsoleInput ci,
                                 DownloadManager dm,
                                 List args)
Specified by:
performCommand in class TorrentCommand

getCommandDescriptions

public String getCommandDescriptions()
Description copied from class: IConsoleCommand
return high-level help about the commands supported by this object.

Specified by:
getCommandDescriptions in class IConsoleCommand
Returns:

log

public void log(LogEvent event)
Description copied from interface: ILogEventListener
A LogEvent has been generated.

Specified by:
log in interface ILogEventListener
Parameters:
event - The newly generated LogEvent