@Extension public static class FixedDirectoryDeploySource.DescriptorImpl extends DeploySourceDescriptor
StaticSelectionDeploySource
.Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
FormValidation |
doCheckDirectoryPath(String fromWorkspace,
String targetDescriptorId,
String value)
Checks the specified directory path.
|
String |
getDisplayName() |
boolean |
isDirectorySource()
Returns
true if and only if this DeploySource can return directories. |
boolean |
isFileSource()
Returns
true if and only if this DeploySource can return files. |
boolean |
isSupported(DeploySourceOrigin origin)
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, isApplicable, 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 boolean isSupported(@CheckForNull DeploySourceOrigin origin)
true
if and only if this DeploySource
can operate from the specified origin.isSupported
in class DeploySourceDescriptor
origin
- the origin.true
if and only if this DeploySource
can operate from the specified origin.public boolean isDirectorySource()
true
if and only if this DeploySource
can return directories.isDirectorySource
in class DeploySourceDescriptor
true
if and only if this DeploySource
can return directories.public boolean isFileSource()
true
if and only if this DeploySource
can return files.isFileSource
in class DeploySourceDescriptor
true
if and only if this DeploySource
can return files.public String getDisplayName()
getDisplayName
in class Descriptor<DeploySource>
public DeploySource newInstance()
DeploySource
newInstance
in class DeploySourceDescriptor
public FormValidation doCheckDirectoryPath(@QueryParameter @RelativePath(value="..") String fromWorkspace, @QueryParameter String targetDescriptorId, @QueryParameter String value) throws IOException, javax.servlet.ServletException, InterruptedException
fromWorkspace
- whether validation is being performed from the workspace or some other source.value
- the directory path to validate.IOException
- when things go wrong.javax.servlet.ServletException
- when things go wrong.InterruptedException
- when things go wrong.Copyright © 2016–2022. All rights reserved.