Class DownstreamBuildSelector.DescriptorImpl

    • Constructor Detail

      • DescriptorImpl

        public DescriptorImpl()
    • Method Detail

      • 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.