Klasse SimpleReferenceRecorder.SimpleReferenceRecorderDescriptor

java.lang.Object
hudson.model.Descriptor<Publisher>
hudson.tasks.BuildStepDescriptor<Publisher>
io.jenkins.plugins.forensics.reference.SimpleReferenceRecorder.SimpleReferenceRecorderDescriptor
Alle implementierten Schnittstellen:
Saveable, OnMaster
Umschließende Klasse:
SimpleReferenceRecorder

@Extension @Symbol("discoverReferenceBuild") public static class SimpleReferenceRecorder.SimpleReferenceRecorderDescriptor extends BuildStepDescriptor<Publisher>
Descriptor for this step: defines the context and the UI data binding and validation.
  • Konstruktordetails

    • SimpleReferenceRecorderDescriptor

      public SimpleReferenceRecorderDescriptor()
      Creates a new descriptor with the concrete services.
    • SimpleReferenceRecorderDescriptor

      protected SimpleReferenceRecorderDescriptor(io.jenkins.plugins.util.JenkinsFacade jenkins)
  • Methodendetails

    • getDisplayName

      @NonNull public String getDisplayName()
      Setzt außer Kraft:
      getDisplayName in Klasse Descriptor<Publisher>
    • isApplicable

      public boolean isApplicable(Class<? extends AbstractProject> jobType)
      Angegeben von:
      isApplicable in Klasse BuildStepDescriptor<Publisher>
    • doFillReferenceJobItems

      @POST public ComboBoxModel doFillReferenceJobItems(@AncestorInPath BuildableItem project)
      Returns the model with the possible reference jobs.
      Parameter:
      project - the project that is configured
      Gibt zurück:
      the model with the possible reference jobs
    • doCheckReferenceJob

      @POST public FormValidation doCheckReferenceJob(@AncestorInPath BuildableItem project, @QueryParameter String referenceJob)
      Performs on-the-fly validation of the reference job.
      Parameter:
      project - the project that is configured
      referenceJob - the reference job
      Gibt zurück:
      the validation result
    • doFillRequiredResultItems

      @POST public ListBoxModel doFillRequiredResultItems(@AncestorInPath BuildableItem project)
      Returns the model with the possible build results.
      Parameter:
      project - the project that is configured
      Gibt zurück:
      the model with the possible build results