Class PromotionTrigger.DescriptorImpl

    • Constructor Detail

      • DescriptorImpl

        public DescriptorImpl()
    • Method Detail

      • doCheckJobName

        public FormValidation doCheckJobName​(@AncestorInPath
                                             Item project,
                                             @QueryParameter
                                             String value)
        Checks the job name.
        Parameters:
        project - Current project
        value - Value to be validated
        Returns:
        Validation result
      • doFillProcessItems

        public ListBoxModel doFillProcessItems​(@AncestorInPath
                                               Item defaultJob,
                                               @QueryParameter("jobName")
                                               String jobName)
        Fills in the available promotion processes.
        Parameters:
        defaultJob - Base job
        jobName - Current name of the job specified in the form
        Returns:
        List of possible project names. May be empty