hudson.model
Class DownloadService
java.lang.Object
hudson.model.Descriptor<PageDecorator>
hudson.model.PageDecorator
hudson.model.DownloadService
- All Implemented Interfaces:
- ExtensionPoint, Describable<PageDecorator>, Saveable
@Extension
public class DownloadService
- extends PageDecorator
Service for plugins to periodically retrieve update data files
(like the one in the update center) through browsers.
Because the retrieval of the file goes through XmlHttpRequest,
we cannot reliably pass around binary.
- Author:
- Kohsuke Kawaguchi
Field Summary |
static boolean |
neverUpdate
|
static boolean |
signatureCheck
Off by default until we know this is reasonably working. |
Methods inherited from class hudson.model.Descriptor |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
neverUpdate
public static boolean neverUpdate
signatureCheck
public static boolean signatureCheck
- Off by default until we know this is reasonably working.
DownloadService
public DownloadService()
generateFragment
public String generateFragment()
- Builds up an HTML fragment that starts all the download jobs.
getById
public DownloadService.Downloadable getById(String id)
- Gets
DownloadService.Downloadable
by its ID.
Used to bind them to URL.
Copyright © 2004-2013. All Rights Reserved.