Package hudson.plugins.copyartifact
Class DownstreamBuildSelector.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<BuildSelector>
hudson.plugins.copyartifact.DownstreamBuildSelector.DescriptorImpl
- Enclosing class:
- DownstreamBuildSelector
@Extension
@Symbol("downstream")
public static final class DownstreamBuildSelector.DescriptorImpl
extends Descriptor<BuildSelector>
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
containsVariable
(String str) doAutoCompleteUpstreamProjectName
(String value, Job<?, ?> project) Fill the project name automatically.doCheckUpstreamBuildNumber
(Job<?, ?> project, String upstreamProjectName, String upstreamBuildNumber) Validates a form input to "Upstream Build Number"doCheckUpstreamProjectName
(Job<?, ?> project, String upstreamProjectName) Validates a form input to "Upstream Project Name"Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, 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
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<BuildSelector>
-
containsVariable
- Parameters:
str
- Value to check.- Returns:
- whether a value contains variable expressions.
-
doCheckUpstreamProjectName
public FormValidation doCheckUpstreamProjectName(@AncestorInPath Job<?, ?> project, @QueryParameter String upstreamProjectName) Validates a form input to "Upstream Project Name"- Parameters:
project
- Ancestor project.upstreamProjectName
- Upstream project name.- Returns:
- the form validation result.
-
doCheckUpstreamBuildNumber
public FormValidation doCheckUpstreamBuildNumber(@AncestorInPath Job<?, ?> project, @QueryParameter String upstreamProjectName, @QueryParameter String upstreamBuildNumber) Validates a form input to "Upstream Build Number"- Parameters:
project
- Ancestor project.upstreamProjectName
- Upstream project name.upstreamBuildNumber
- Upstream build number.- Returns:
- the form validation result.
-
doAutoCompleteUpstreamProjectName
public AutoCompletionCandidates doAutoCompleteUpstreamProjectName(@QueryParameter String value, @AncestorInPath Job<?, ?> project) Fill the project name automatically.- Parameters:
value
- Seed value.project
- Ancestor project.- Returns:
- the autocompletion candidates.
-