@Extension public class SetupConfig extends GlobalConfiguration
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
ExtensionPoint.LegacyInstancesAreScopedToHudson
clazz
Constructor and Description |
---|
SetupConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
GlobalConfiguration override.
|
AutoCompletionCandidates |
doAutoCompleteAssignedLabelString(String value)
Autocompletion string for jelly to autocomplete node label.
|
FormValidation |
doCheckAssignedLabelString(String value) |
FormValidation |
doCheckFilesDir(String value) |
static SetupConfig |
get()
Get this SetupConfig class
|
List<SetupConfigItem> |
getSetupConfigItems() |
void |
setSetupConfigItems(List<SetupConfigItem> setupConfigItems) |
all, getDescriptor, getGlobalConfigPage
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public List<SetupConfigItem> getSetupConfigItems()
public void setSetupConfigItems(List<SetupConfigItem> setupConfigItems)
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException
configure
in class GlobalConfiguration
req
- StaplerRequest from jenkins classesjson
- JSONObject from jenkins classesDescriptor.FormException
public static SetupConfig get()
public AutoCompletionCandidates doAutoCompleteAssignedLabelString(@QueryParameter String value)
value
- String to be compared and autocompleted.public FormValidation doCheckFilesDir(@QueryParameter String value)
public FormValidation doCheckAssignedLabelString(@QueryParameter String value)
Copyright © 2016–2023. All rights reserved.