Class RunEverythingPlugin

    • Field Detail

      • downloads

        private java.util.Map downloads
      • downloads_mon

        private Monitor downloads_mon
      • closing

        private volatile boolean closing
    • Constructor Detail

      • RunEverythingPlugin

        public RunEverythingPlugin()
    • Method Detail

      • initialize

        public void initialize​(PluginInterface _pi)
        Description copied from interface: Plugin
        This method is called when the Plugin is loaded by the client
        Specified by:
        initialize in interface Plugin
        Parameters:
        _pi - the interface that the plugin must use to communicate with the client
      • 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
      • checkRules

        protected void checkRules()
      • processLoop

        protected void processLoop()
      • processSupport

        protected void processSupport()
      • log

        protected void log​(java.lang.String str)