Class DownstreamBuildSelector.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<BuildSelector>
hudson.plugins.copyartifact.DownstreamBuildSelector.DescriptorImpl
All Implemented Interfaces:
Saveable, OnMaster
Enclosing class:
DownstreamBuildSelector

@Extension @Symbol("downstream") public static final class DownstreamBuildSelector.DescriptorImpl extends Descriptor<BuildSelector>
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<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.