Class StartStopRulesDefaultPlugin.StartStopDownloadListener

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void positionChanged​(Download download, int oldPosition, int newPosition)
      Position of download has changed.
      void stateChanged​(Download download, int old_state, int new_state)
      The Download's state has changed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StartStopDownloadListener

        private StartStopDownloadListener()
    • Method Detail

      • stateChanged

        public void stateChanged​(Download download,
                                 int old_state,
                                 int new_state)
        Description copied from interface: DownloadListener
        The Download's state has changed. This is also triggered if the user toggles the Force Start on/off.
        Specified by:
        stateChanged in interface DownloadListener
      • positionChanged

        public void positionChanged​(Download download,
                                    int oldPosition,
                                    int newPosition)
        Description copied from interface: DownloadListener
        Position of download has changed.
        Specified by:
        positionChanged in interface DownloadListener
        Parameters:
        download - object in which the position has changed
        oldPosition - position that the download used to be at
        newPosition - position that the download is now at