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