Class BuildPipelineTrigger.DescriptorImpl

    • Constructor Detail

      • DescriptorImpl

        public DescriptorImpl()
    • Method Detail

      • canAddParameters

        public boolean canAddParameters()
        Returns true if it is possible to add parameters to the trigger. This is the case when the parameterized-trigger plugin is both installed and active.
        Returns:
        true if it is possible to add parameters to the trigger
      • getDisplayName

        public String getDisplayName()
        set the display name in post build action section of the job configuration page
        Overrides:
        getDisplayName in class Descriptor<Publisher>
        Returns:
        display name
      • getHelpFile

        public String getHelpFile()
        Set help text to "Build Pipeline Plugin -> Manually Execute Downstream Project" Post Build action in JOB configuration page
        Overrides:
        getHelpFile in class Descriptor<Publisher>
        Returns:
        location of the help file
      • doCheckDownstreamProjectNames

        public FormValidation doCheckDownstreamProjectNames​(@AncestorInPath
                                                            AbstractProject project,
                                                            @QueryParameter("downstreamProjectNames")
                                                            String value)
        Validates that the downstream project names entered are valid projects.
        Parameters:
        value - - The entered project names
        project - - the containing project
        Returns:
        hudson.util.FormValidation
      • getBuilderConfigDescriptors

        public List<Descriptor<hudson.plugins.parameterizedtrigger.AbstractBuildParameters>> getBuilderConfigDescriptors()