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 Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
containsVariable(String str)
AutoCompletionCandidates
doAutoCompleteUpstreamProjectName(String value, Job<?,?> project)
Fill the project name automatically.FormValidation
doCheckUpstreamBuildNumber(Job<?,?> project, String upstreamProjectName, String upstreamBuildNumber)
Validates a form input to "Upstream Build Number"FormValidation
doCheckUpstreamProjectName(Job<?,?> project, String upstreamProjectName)
Validates a form input to "Upstream Project Name"String
getDisplayName()
-
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
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<BuildSelector>
-
containsVariable
protected boolean containsVariable(String str)
- 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.
-
-