@Extension(dynamicLoadable=YES) @Symbol(value={"restListParam","restListParamConfig"}) public final class RestListParameterGlobalConfig extends GlobalConfiguration
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfExtensionPoint.LegacyInstancesAreScopedToHudsonclazz| Constructor and Description |
|---|
RestListParameterGlobalConfig() |
| Modifier and Type | Method and Description |
|---|---|
FormValidation |
doCheckCacheSize(Long cacheSize) |
FormValidation |
doCheckCacheTime(Integer cacheTime) |
static RestListParameterGlobalConfig |
get()
Get the current RestListParameter global configuration.
|
Long |
getCacheSize() |
Integer |
getCacheTime() |
void |
setCacheSize(Long cacheSize) |
void |
setCacheTime(Integer cacheTime) |
all, configure, getDescriptor, getGlobalConfigPageaddHelpFileRedirect, 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, toMappublic static RestListParameterGlobalConfig get()
null if Jenkins has been shut downpublic Long getCacheSize()
@DataBoundSetter public void setCacheSize(Long cacheSize)
@POST public FormValidation doCheckCacheSize(@QueryParameter Long cacheSize)
public Integer getCacheTime()
@DataBoundSetter public void setCacheTime(Integer cacheTime)
@POST public FormValidation doCheckCacheTime(@QueryParameter Integer cacheTime)
Copyright © 2020–2021. All rights reserved.