Class OrasGenericArtifactConfig.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<OrasGenericArtifactConfig>
io.jenkins.plugins.oras_artifacts.OrasGenericArtifactConfig.DescriptorImpl
- Enclosing class:
OrasGenericArtifactConfig
@Extension
public static final class OrasGenericArtifactConfig.DescriptorImpl
extends Descriptor<OrasGenericArtifactConfig>
-
Nested Class Summary
Nested classes/interfaces inherited from class Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self -
Field Summary
Fields inherited from class Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconfigure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) doCheckPrefix(String prefix) doCheckRegistryUrl(String registryUrl) doFillCredentialsIdItems(Item item) doValidateOrasConfig(String registryUrl, String credentialsId, String prefix, boolean insecure) Methods inherited from class 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:
getDisplayNamein classDescriptor<OrasGenericArtifactConfig>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) throws Descriptor.FormException - Overrides:
configurein classDescriptor<OrasGenericArtifactConfig>- Throws:
Descriptor.FormException
-
doFillCredentialsIdItems
-
doCheckRegistryUrl
-
doCheckPrefix
-
doValidateOrasConfig
public FormValidation doValidateOrasConfig(@QueryParameter("registryUrl") String registryUrl, @QueryParameter("credentialsId") String credentialsId, @QueryParameter("prefix") String prefix, @QueryParameter("insecure") boolean insecure)
-