Class PromotionTrigger.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<Trigger<?>>
hudson.triggers.TriggerDescriptor
hudson.plugins.promoted_builds.PromotionTrigger.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
PromotionTrigger

@Extension public static class PromotionTrigger.DescriptorImpl extends TriggerDescriptor
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • isApplicable

      public boolean isApplicable(Item item)
      Specified by:
      isApplicable in class TriggerDescriptor
    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<Trigger<?>>
    • 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
    • doAutoCompleteJobName

      public AutoCompletionCandidates doAutoCompleteJobName(@QueryParameter String value)
    • 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