org.gudy.azureus2.pluginsimpl.local.download
Class DownloadEventNotifierImpl.DownloadActivationNotifier

java.lang.Object
  extended by org.gudy.azureus2.pluginsimpl.local.download.DownloadEventNotifierImpl.DownloadActivationNotifier
All Implemented Interfaces:
DownloadActivationListener, DownloadManagerListener
Enclosing class:
DownloadEventNotifierImpl

public class DownloadEventNotifierImpl.DownloadActivationNotifier
extends Object
implements DownloadActivationListener


Constructor Summary
DownloadEventNotifierImpl.DownloadActivationNotifier()
           
 
Method Summary
 boolean activationRequested(DownloadActivationEvent event)
          A request has been made to activate the download.
 void downloadAdded(Download download)
           
 void downloadRemoved(Download download)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DownloadEventNotifierImpl.DownloadActivationNotifier

public DownloadEventNotifierImpl.DownloadActivationNotifier()
Method Detail

downloadAdded

public void downloadAdded(Download download)
Specified by:
downloadAdded in interface DownloadManagerListener

downloadRemoved

public void downloadRemoved(Download download)
Specified by:
downloadRemoved in interface DownloadManagerListener

activationRequested

public boolean activationRequested(DownloadActivationEvent event)
Description copied from interface: DownloadActivationListener
A request has been made to activate the download. Not this is only fired on an increase in the activation request count, not on a decrease. To get a current snapshot of this use the method getActivationState in Download

Specified by:
activationRequested in interface DownloadActivationListener
Returns:
return true if the download will be activated, false otherwise