@Extension(ordinal=50.0) public class GlobalMavenConfig extends GlobalConfiguration
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
ExtensionPoint.LegacyInstancesAreScopedToHudson
clazz
Constructor and Description |
---|
GlobalMavenConfig() |
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 GlobalMavenConfig |
get() |
GlobalSettingsProvider |
getGlobalSettingsProvider() |
SettingsProvider |
getSettingsProvider() |
void |
setGlobalSettingsProvider(GlobalSettingsProvider globalSettingsProvider) |
void |
setSettingsProvider(SettingsProvider settingsProvider) |
all, getCategory, getDescriptor, getGlobalConfigPage
addHelpFileRedirect, 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, toMap
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 void setGlobalSettingsProvider(GlobalSettingsProvider globalSettingsProvider)
public void setSettingsProvider(SettingsProvider settingsProvider)
public GlobalSettingsProvider getGlobalSettingsProvider()
public SettingsProvider getSettingsProvider()
public static GlobalMavenConfig get()
Copyright © 2019. All rights reserved.