Package io.jenkins.plugins.quay
Class QuayImageParameterDefinition.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<ParameterDefinition>
hudson.model.ParameterDefinition.ParameterDescriptor
io.jenkins.plugins.quay.QuayImageParameterDefinition.DescriptorImpl
- Enclosing class:
QuayImageParameterDefinition
@Symbol("quayImageParameter")
@Extension
public static class QuayImageParameterDefinition.DescriptorImpl
extends ParameterDefinition.ParameterDescriptor
-
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 TypeMethodDescriptiondoCheckOrganization(String organization) Validate organization name.doCheckRepository(String repository) Validate repository name.doFillCredentialsIdItems(Item item, String credentialsId) Populate credentials dropdown.doFillTagItems(Item item, String organization, String repository, String credentialsId, int tagLimit) Dynamically fetch tags for the UI dropdown via AJAX.doTestConnection(Item item, String organization, String repository, String credentialsId) Test connection to Quay.io repository.Methods inherited from class hudson.model.ParameterDefinition.ParameterDescriptor
getValuePageMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, 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 classParameterDefinition.ParameterDescriptor
-
doFillCredentialsIdItems
@POST public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item item, @QueryParameter String credentialsId) Populate credentials dropdown. -
doFillTagItems
@POST public ListBoxModel doFillTagItems(@AncestorInPath Item item, @QueryParameter String organization, @QueryParameter String repository, @QueryParameter String credentialsId, @QueryParameter int tagLimit) Dynamically fetch tags for the UI dropdown via AJAX. -
doCheckOrganization
Validate organization name. -
doCheckRepository
Validate repository name. -
doTestConnection
@POST public FormValidation doTestConnection(@AncestorInPath Item item, @QueryParameter String organization, @QueryParameter String repository, @QueryParameter String credentialsId) Test connection to Quay.io repository.
-