Class RegistryItemStorage.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<jenkins.plugins.itemstorage.ItemStorage<T>>
jenkins.plugins.itemstorage.ItemStorageDescriptor<RegistryItemPath>
io.jenkins.plugins.jobcacher.oras.RegistryItemStorage.DescriptorImpl
- Enclosing class:
- RegistryItemStorage
@Extension
@Symbol("oras")
public static final class RegistryItemStorage.DescriptorImpl
extends jenkins.plugins.itemstorage.ItemStorageDescriptor<RegistryItemPath>
ORAS storage descriptor.
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
configure
(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) doCheckRegistryUrl
(String registryUrl) doValidateRegistryConfig
(String registryUrl, String storageCredentialId, String namespace) Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, 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
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<jenkins.plugins.itemstorage.ItemStorage<RegistryItemPath>>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) throws Descriptor.FormException - Overrides:
configure
in classDescriptor<jenkins.plugins.itemstorage.ItemStorage<RegistryItemPath>>
- Throws:
Descriptor.FormException
-
doFillStorageCredentialIdItems
-
doCheckRegistryUrl
-
doValidateRegistryConfig
public FormValidation doValidateRegistryConfig(@QueryParameter("registryUrl") String registryUrl, @QueryParameter("storageCredentialId") String storageCredentialId, @QueryParameter("namespace") String namespace)
-