Package io.jenkins.plugins.restlistparam
Class RestListParameterGlobalConfig
java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
io.jenkins.plugins.restlistparam.RestListParameterGlobalConfig
- All Implemented Interfaces:
ExtensionPoint,Describable<GlobalConfiguration>,Saveable,Loadable,OnMaster
@Extension(dynamicLoadable=YES)
@Symbol({"restListParam","restListParamConfig"})
public final class RestListParameterGlobalConfig
extends GlobalConfiguration
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCheckCacheSize(Long cacheSize) doCheckCacheTime(Integer cacheTime) doCheckFetchTimeout(Integer fetchTimeout) Removes the cached entries of all parameters (the value cache); the HTTP response cache is not affected.get()Get the current RestListParameter global configuration.voidsetCacheSize(Long cacheSize) voidsetCacheTime(Integer cacheTime) voidsetFetchTimeout(Integer fetchTimeout) Methods inherited from class jenkins.model.GlobalConfiguration
all, configure, configure, getDescriptor, getGlobalConfigPageMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
RestListParameterGlobalConfig
public RestListParameterGlobalConfig()
-
-
Method Details
-
get
Get the current RestListParameter global configuration.- Returns:
- the RestListParameter configuration, or
nullif Jenkins has been shut down
-
getCacheSize
-
setCacheSize
-
doCheckCacheSize
-
getCacheTime
-
setCacheTime
-
doCheckCacheTime
-
getFetchTimeout
- Returns:
- How many seconds one fetch of a parameter's entries, including all its pages, may take
-
setFetchTimeout
-
doClearValueCache
Removes the cached entries of all parameters (the value cache); the HTTP response cache is not affected. -
doCheckFetchTimeout
-