Class BuildPipelineTrigger.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Publisher>
au.com.centrumsystems.hudson.plugin.buildpipeline.trigger.BuildPipelineTrigger.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
BuildPipelineTrigger

@Extension public static class BuildPipelineTrigger.DescriptorImpl extends BuildStepDescriptor<Publisher>
Set the descriptor for build pipeline trigger class This descriptor is only attached to Build Trigger Post Build action in JOB configuration page
Author:
Centrum Systems
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

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

      public boolean isApplicable(Class<? extends AbstractProject> jobType)
      Specified by:
      isApplicable in class BuildStepDescriptor<Publisher>
    • 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()