@Extension public static class StaticSelectionDeploySource.DescriptorImpl extends DeploySourceDescriptor
StaticSelectionDeploySource.Descriptor.FormException, Descriptor.PropertyType, Descriptor.Selfclazz| 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, isSupportedaddHelpFileRedirect, 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, toMappublic 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 DeploySourceDescriptorsource - 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 DeploySourceDescriptorjobType - 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
IOExceptionjavax.servlet.ServletExceptionInterruptedExceptionpublic ListBoxModel doFillFilePathItems() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic DeploySource newInstance()
DeploySourceDescriptorDeploySourcenewInstance in class DeploySourceDescriptorCopyright © 2016–2022. All rights reserved.