@Extension(ordinal=110.0)
public class MainConfiguration
extends jenkins.model.GlobalConfiguration
| Constructor and Description |
|---|
MainConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
hudson.util.FormValidation |
doCheckLibs(String value)
Performs on-the-fly validation of the form field 'libs'.
|
hudson.util.FormValidation |
doCheckLicense(String value)
Performs on-the-fly validation of the form field 'license'.
|
String |
getDisplayName()
This human readable name is used in the configuration screen.
|
String |
getLibs() |
all, getCategory, getDescriptor, getGlobalConfigPageaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, 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, toMappublic String getDisplayName()
getDisplayName in class jenkins.model.GlobalConfigurationpublic boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<jenkins.model.GlobalConfiguration>hudson.model.Descriptor.FormExceptionpublic String getLibs()
public hudson.util.FormValidation doCheckLibs(@QueryParameter
String value)
value - This parameter receives the value that the user has typed.
Note that returning FormValidation.error(String) does
not prevent the form from being saved. It just means that a
message will be displayed to the user.
public hudson.util.FormValidation doCheckLicense(@QueryParameter
String value)
value - This parameter receives the value that the user has typed.
Note that returning FormValidation.error(String) does
not prevent the form from being saved. It just means that a
message will be displayed to the user.
Copyright © 2016–2024. All rights reserved.