org.gudy.azureus2.pluginsimpl.local.download
Class DownloadEventNotifierImpl.DownloadActivationNotifier
java.lang.Object
org.gudy.azureus2.pluginsimpl.local.download.DownloadEventNotifierImpl.DownloadActivationNotifier
- All Implemented Interfaces:
- DownloadActivationListener, DownloadManagerListener
- Enclosing class:
- DownloadEventNotifierImpl
public class DownloadEventNotifierImpl.DownloadActivationNotifier
- extends Object
- implements DownloadActivationListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DownloadEventNotifierImpl.DownloadActivationNotifier
public DownloadEventNotifierImpl.DownloadActivationNotifier()
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