@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) @Extension public final class DownloadSettings extends GlobalConfiguration
UpdateSite
,
DownloadService
Modifier and Type | Class and Description |
---|---|
static class |
DownloadSettings.DailyCheck |
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
ExtensionPoint.LegacyInstancesAreScopedToHudson
clazz
Constructor and Description |
---|
DownloadSettings() |
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
Invoked when the global configuration page is submitted.
|
static DownloadSettings |
get() |
boolean |
isUseBrowser() |
void |
setUseBrowser(boolean useBrowser) |
all, getCategory, getDescriptor, getDisplayName, getGlobalConfigPage
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, 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
public static DownloadSettings get()
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException
Descriptor
configure
in class Descriptor<GlobalConfiguration>
json
- The JSON object that captures the configuration data for this Descriptor
.
See http://wiki.jenkins-ci.org/display/JENKINS/Structured+Form+SubmissionDescriptor.FormException
public boolean isUseBrowser()
public void setUseBrowser(boolean useBrowser)
Copyright © 2015. All rights reserved.