Package io.jenkins.plugins.quay
Class QuayImageParameterDefinition
java.lang.Object
hudson.model.ParameterDefinition
io.jenkins.plugins.quay.QuayImageParameterDefinition
- All Implemented Interfaces:
ExtensionPoint,Describable<ParameterDefinition>,Serializable
Build parameter definition for selecting Quay.io image tags.
Provides a dropdown in the Jenkins job configuration to select Docker image tags.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.model.ParameterDefinition
ParameterDefinition.ParameterDescriptorNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.ParameterDefinition
LIST -
Constructor Summary
ConstructorsConstructorDescriptionQuayImageParameterDefinition(String name, String description, String organization, String repository) -
Method Summary
Modifier and TypeMethodDescriptioncreateValue(org.kohsuke.stapler.StaplerRequest2 req) createValue(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject jo) Get available tags for display in the UI dropdown.intvoidsetCredentialsId(String credentialsId) voidsetDefaultTag(String defaultTag) voidsetTagLimit(int tagLimit) Methods inherited from class hudson.model.ParameterDefinition
all, copyWithDefaultValue, createValue, createValue, createValue, equals, getDescription, getDescriptor, getFormattedDescription, getName, getType, hashCode, isValid, setDescription
-
Constructor Details
-
QuayImageParameterDefinition
-
-
Method Details
-
getOrganization
-
getRepository
-
getCredentialsId
-
setCredentialsId
-
getTagLimit
public int getTagLimit() -
setTagLimit
@DataBoundSetter public void setTagLimit(int tagLimit) -
getDefaultTag
-
setDefaultTag
-
createValue
public ParameterValue createValue(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject jo) - Overrides:
createValuein classParameterDefinition
-
createValue
- Overrides:
createValuein classParameterDefinition
-
getDefaultParameterValue
- Overrides:
getDefaultParameterValuein classParameterDefinition
-
getAvailableTags
Get available tags for display in the UI dropdown.
-