Klasse ReportScanningTool.ReportScanningToolDescriptor

Alle implementierten Schnittstellen:
Saveable, OnMaster
Bekannte direkte Unterklassen:
AnalysisModelParser.AnalysisModelParserDescriptor, GroovyScript.Descriptor, RegisteredParser.Descriptor
Umschließende Klasse:

public static class ReportScanningTool.ReportScanningToolDescriptor extends Tool.ToolDescriptor
Descriptor for ReportScanningTool.
Ullrich Hafner
  • Konstruktordetails

  • Methodendetails

    • doFillReportEncodingItems

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

      @POST public FormValidation doCheckReportEncoding(@AncestorInPath BuildableItem project, @QueryParameter String reportEncoding)
      Performs on-the-fly validation of the character encoding.
      project - the project that is configured
      reportEncoding - the character encoding
      Gibt zurück:
      the validation result
    • doCheckPattern

      @POST public FormValidation doCheckPattern(@AncestorInPath AbstractProject<?,?> project, @QueryParameter String pattern)
      Performs on-the-fly validation on the ant pattern for input files.
      project - the project that is configured
      pattern - the file pattern
      Gibt zurück:
      the validation result
    • hasDefaultPattern

      public boolean hasDefaultPattern()
      Indicates whether this scanning tool has a default pattern, or not. If it does, it means it can never scan the console, but also means that we don't require a user-specified pattern as we have a usable default.
      Gibt zurück:
      true if getPattern() returns a non-empty string.
    • canScanConsoleLog

      public boolean canScanConsoleLog()
      Returns whether this parser can scan the console log. Typically, only line-based parsers can scan the console log. XML parsers should always parse a given file only.
      Gibt zurück:
      the parser to use
    • getPattern

      public String getPattern()
      Returns the default filename pattern for this tool. Override if your parser typically works on a specific file. Note: if you provide a default pattern, then it is not possible to scan Jenkins' console log of a build.
      Gibt zurück:
      the default pattern