@Extension public static class WildcardPathDeploySource.DescriptorImpl extends DeploySourceDescriptor
WildcardPathDeploySource
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
FormValidation |
doCheckFilePattern(String fromWorkspace,
String targetDescriptorId,
String value) |
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)
DeploySourceDescriptor
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 doCheckFilePattern(@QueryParameter @RelativePath(value="..") String fromWorkspace, @QueryParameter String targetDescriptorId, @QueryParameter String value) throws IOException, javax.servlet.ServletException, InterruptedException
IOException
javax.servlet.ServletException
InterruptedException
public DeploySource newInstance()
DeploySource
newInstance
in class DeploySourceDescriptor
Copyright © 2016–2022. All rights reserved.