@Extension public static class MavenArtifactDeploySource.DescriptorImpl extends DeploySourceDescriptor
MavenArtifactDeploySource
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
FormValidation |
doCheckArtifactId(String groupId,
String value,
String classifier,
String type) |
FormValidation |
doCheckGroupId(String value) |
ComboBoxModel |
doFillArtifactIdItems(String groupId) |
ComboBoxModel |
doFillClassifierItems(String groupId,
String artifactId) |
ComboBoxModel |
doFillGroupIdItems() |
ComboBoxModel |
doFillTypeItems(String groupId,
String artifactId,
String classifier) |
String |
getDisplayName() |
boolean |
isApplicable(Class<? extends AbstractProject> jobType)
Returns
true if and only if this DeploySource is relevant to the job type |
boolean |
isSupported(DeploySourceOrigin source)
Returns
true if and only if this DeploySource can operate from the specified origin. |
DeploySource |
newInstance()
Create a new default instance of the
DeploySource |
delegatePathValidationToTarget, findJob, findRun, isDirectorySource, isFileSource, isMavenJob, isSupported
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public String getDisplayName()
getDisplayName
in class Descriptor<DeploySource>
public boolean isSupported(@CheckForNull DeploySourceOrigin source)
true
if and only if this DeploySource
can operate from the specified origin.isSupported
in class DeploySourceDescriptor
source
- the origin.true
if and only if this DeploySource
can operate from the specified origin.public boolean isApplicable(@CheckForNull Class<? extends AbstractProject> jobType)
true
if and only if this DeploySource
is relevant to the job typeisApplicable
in class DeploySourceDescriptor
jobType
- the type of job.true
if and only if this DeploySource
is relevant to the job typepublic FormValidation doCheckGroupId(@QueryParameter String value) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
public ComboBoxModel doFillGroupIdItems()
public FormValidation doCheckArtifactId(@QueryParameter String groupId, @QueryParameter String value, @QueryParameter String classifier, @QueryParameter String type) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
public ComboBoxModel doFillArtifactIdItems(@QueryParameter String groupId)
public ComboBoxModel doFillClassifierItems(@QueryParameter String groupId, @QueryParameter String artifactId)
public ComboBoxModel doFillTypeItems(@QueryParameter String groupId, @QueryParameter String artifactId, @QueryParameter String classifier)
public DeploySource newInstance()
DeploySourceDescriptor
DeploySource
newInstance
in class DeploySourceDescriptor
Copyright © 2016–2022. All rights reserved.