Package hudson.model
Class DownloadService.DownloadableListener
java.lang.Object
hudson.ExtensionListListener
hudson.model.DownloadService.DownloadableListener
- Enclosing class:
- DownloadService
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public static class DownloadService.DownloadableListener
extends ExtensionListListener
This installs itself as a listener to changes to the Downloadable extension list and will download the metadata
for any newly added Downloadables.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Install this listener to the Downloadable extension list after all extensions have been loaded; we only care about those that are added after initializationvoid
onChange()
Look for Downloadables that have no data, and update them.
-
Constructor Details
-
DownloadableListener
public DownloadableListener()
-
-
Method Details
-
installListener
Install this listener to the Downloadable extension list after all extensions have been loaded; we only care about those that are added after initialization -
onChange
public void onChange()Look for Downloadables that have no data, and update them.- Specified by:
onChange
in classExtensionListListener
-