Class CoverageTool.CoverageToolDescriptor

java.lang.Object
hudson.model.Descriptor<CoverageTool>
io.jenkins.plugins.coverage.metrics.steps.CoverageTool.CoverageToolDescriptor
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
CoverageTool

@Extension public static class CoverageTool.CoverageToolDescriptor extends Descriptor<CoverageTool>
Descriptor for CoverageTool.
  • Constructor Details

    • CoverageToolDescriptor

      public CoverageToolDescriptor()
  • Method Details

    • doFillParserItems

      @POST public ListBoxModel doFillParserItems()
      Returns a model with all SourceCodeRetention strategies.
      Returns:
      a model with all SourceCodeRetention strategies.
    • doCheckId

      @POST public FormValidation doCheckId(@AncestorInPath BuildableItem project, @QueryParameter String id)
      Performs on-the-fly validation of the ID.
      Parameters:
      project - the project that is configured
      id - the ID of the tool
      Returns:
      the validation result
    • getHelp

      public String getHelp()
      Returns an optional help text that can provide useful hints on how to configure the coverage tool so that Jenkins could parse the report files. This help can be a plain text message or an HTML snippet.
      Returns:
      the help
    • getUrl

      public String getUrl()
      Returns an optional URL to the homepage of the coverage tool.
      Returns:
      the help