Klasse OpenTasks.Descriptor

java.lang.Object
hudson.model.Descriptor<Tool>
io.jenkins.plugins.analysis.core.model.Tool.ToolDescriptor
io.jenkins.plugins.analysis.warnings.tasks.OpenTasks.Descriptor
Alle implementierten Schnittstellen:
Saveable, OnMaster
Umschließende Klasse:
OpenTasks

@Symbol("taskScanner") @Extension public static class OpenTasks.Descriptor extends Tool.ToolDescriptor
Descriptor for this static analysis tool.
  • Konstruktordetails

    • Descriptor

      public Descriptor()
      Creates the descriptor instance.
  • Methodendetails

    • getDisplayName

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

      public StaticAnalysisLabelProvider getLabelProvider()
      Beschreibung aus Klasse kopiert: Tool.ToolDescriptor
      Returns a StaticAnalysisLabelProvider that will render all tool specific labels.
      Setzt außer Kraft:
      getLabelProvider in Klasse Tool.ToolDescriptor
      Gibt zurück:
      a tool specific StaticAnalysisLabelProvider
    • doCheckIncludePattern

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

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

      @POST public FormValidation doCheckExample(@AncestorInPath BuildableItem project, @QueryParameter String example, @QueryParameter String high, @QueryParameter String normal, @QueryParameter String low, @QueryParameter boolean ignoreCase, @QueryParameter boolean asRegexp)
      Validates the example text that will be scanned for open tasks.
      Parameter:
      project - the project that is configured
      example - the text to be scanned for open tasks
      high - tag identifiers indicating high priority
      normal - tag identifiers indicating normal priority
      low - tag identifiers indicating low priority
      ignoreCase - if the case should be ignored during matching
      asRegexp - if the identifiers should be treated as regular expression
      Gibt zurück:
      validation result