Klasse CoverageRecorder.Descriptor

java.lang.Object
hudson.model.Descriptor<Publisher>
hudson.tasks.BuildStepDescriptor<Publisher>
io.jenkins.plugins.coverage.metrics.steps.CoverageRecorder.Descriptor
Alle implementierten Schnittstellen:
Saveable, OnMaster
Umschließende Klasse:
CoverageRecorder

@Extension @Symbol("recordCoverage") public static class CoverageRecorder.Descriptor extends BuildStepDescriptor<Publisher>
Descriptor for this step: defines the context and the UI elements.
  • Konstruktordetails

    • Descriptor

      public Descriptor()
  • 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>
    • doFillSourceCodeRetentionItems

      @POST public ListBoxModel doFillSourceCodeRetentionItems()
      Returns a model with all SourceCodeRetention strategies.
      Gibt zurück:
      a model with all SourceCodeRetention strategies.
    • doFillChecksAnnotationScopeItems

      @POST public ListBoxModel doFillChecksAnnotationScopeItems()
      Returns a model with all CoverageRecorder.ChecksAnnotationScope scopes.
      Gibt zurück:
      a model with all CoverageRecorder.ChecksAnnotationScope scopes.
    • doFillSourceCodeEncodingItems

      @POST public ComboBoxModel doFillSourceCodeEncodingItems()
      Returns a model with all available charsets.
      Gibt zurück:
      a model with all available charsets
    • doCheckSourceCodeEncoding

      @POST public FormValidation doCheckSourceCodeEncoding(@AncestorInPath BuildableItem project, @QueryParameter String sourceCodeEncoding)
      Performs on-the-fly validation on the character encoding.
      Parameter:
      project - the project that is configured
      sourceCodeEncoding - the character encoding
      Gibt zurück:
      the validation result
    • doCheckId

      @POST public FormValidation doCheckId(@AncestorInPath BuildableItem project, @QueryParameter String id)
      Performs on-the-fly validation of the ID.
      Parameter:
      project - the project that is configured
      id - the ID of the tool
      Gibt zurück:
      the validation result