public void addPluginUpdateListener(PluginUpdateListener listener) {
   pluginUpdateListeners.add(listener);
   if (updates != null) {
     listener.pluginUpdateCheckComplete(updates, updatesForced);
   } else if (!updateChecker.updateChecksGloballyDisabled()) {
     checkForUpdates(false);
   }
 }
 /**
  * @param force whether the updates should be shown to the user no matter what - even if the
  *     updates have been seen before
  */
 public void checkForUpdates(boolean force) {
   updateChecker.checkForUpdates(pluginsToUpdate, force);
 }