@Extension public static final class DownstreamRunFilter.DescriptorImpl extends RunFilterDescriptor
DownstreamRunFilter
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
containsVariable(String str) |
hudson.model.AutoCompletionCandidates |
doAutoCompleteUpstreamProjectName(String value,
hudson.model.Job<?,?> project)
Fill the project name automatically.
|
hudson.util.FormValidation |
doCheckUpstreamBuildNumber(hudson.model.Job<?,?> project,
String upstreamProjectName,
String upstreamBuildNumber)
Validates a form input to "Upstream Build Number"
|
hudson.util.FormValidation |
doCheckUpstreamProjectName(hudson.model.Job<?,?> project,
String upstreamProjectName)
Validates a form input to "Upstream Project Name"
|
String |
getDisplayName() |
getDescriptorList
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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<RunFilter>
protected boolean containsVariable(String str)
str
- Value to check.public hudson.util.FormValidation doCheckUpstreamProjectName(@AncestorInPath hudson.model.Job<?,?> project, @QueryParameter String upstreamProjectName)
project
- Ancestor project.upstreamProjectName
- Upstream project name.public hudson.util.FormValidation doCheckUpstreamBuildNumber(@AncestorInPath hudson.model.Job<?,?> project, @QueryParameter String upstreamProjectName, @QueryParameter String upstreamBuildNumber)
project
- Ancestor project.upstreamProjectName
- Upstream project name.upstreamBuildNumber
- Upstream build number.public hudson.model.AutoCompletionCandidates doAutoCompleteUpstreamProjectName(@QueryParameter String value, @AncestorInPath hudson.model.Job<?,?> project)
value
- Seed value.project
- Ancestor project.Copyright © 2016–2020. All rights reserved.