@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 |
static class |
DownloadSettings.Warning |
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfExtensionPoint.LegacyInstancesAreScopedToHudsonclazz| Constructor and Description |
|---|
DownloadSettings() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkPostBackAccess() |
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
Invoked when the global configuration page is submitted.
|
static DownloadSettings |
get() |
GlobalConfigurationCategory |
getCategory()
Every
GlobalConfiguration belongs to a specific category. |
boolean |
isUseBrowser() |
void |
setUseBrowser(boolean useBrowser) |
static boolean |
usePostBack() |
all, getDescriptor, getGlobalConfigPageaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, 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, toMappublic static DownloadSettings get()
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws Descriptor.FormException
Descriptorconfigure 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.FormExceptionpublic boolean isUseBrowser()
public void setUseBrowser(boolean useBrowser)
public GlobalConfigurationCategory getCategory()
GlobalConfigurationGlobalConfiguration belongs to a specific category.getCategory in class GlobalConfigurationGlobalConfiguration.public static boolean usePostBack()
public static void checkPostBackAccess()
throws org.acegisecurity.AccessDeniedException
org.acegisecurity.AccessDeniedExceptionCopyright © 2019. All rights reserved.