Klasse Tool.ToolDescriptor

Alle implementierten Schnittstellen:
Saveable, OnMaster
Bekannte direkte Unterklassen:
AxivionSuite.AxivionSuiteToolDescriptor, OpenTasks.Descriptor, ReportScanningTool.ReportScanningToolDescriptor
Umschließende Klasse:

public abstract static class Tool.ToolDescriptor extends Descriptor<Tool>
Descriptor for Tool.
  • Konstruktordetails

    • ToolDescriptor

      protected ToolDescriptor(String defaultId)
      Creates a new instance of Tool.ToolDescriptor with the given ID.
      defaultId - the unique ID of the tool
  • Methodendetails

    • doCheckId

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

      public String getId()
      Setzt außer Kraft:
      getId in Klasse Descriptor<Tool>
    • getName

      public String getName()
      Returns the default name of this tool.
      Gibt zurück:
      the name
    • getSymbolName

      public String getSymbolName()
      Returns the Symbol name of this tool.
      Gibt zurück:
      the name of this tool, or "undefined" if no symbol has been defined
    • getLabelProvider

      public StaticAnalysisLabelProvider getLabelProvider()
      Returns a StaticAnalysisLabelProvider that will render all tool specific labels.
      Gibt zurück:
      a tool specific StaticAnalysisLabelProvider
    • getHelp

      public String getHelp()
      Returns an optional help text that can provide useful hints on how to configure the static analysis tool so that the report files could be parsed by Jenkins. This help can be a plain text message or an HTML snippet.
      Gibt zurück:
      the help
    • getUrl

      public String getUrl()
      Returns an optional URL to the homepage of the static analysis tool.
      Gibt zurück:
      the help
    • isPostProcessingEnabled

      public boolean isPostProcessingEnabled()
      Returns whether post-processing on the agent is enabled for this tool. If enabled, for all issues absolute paths, fingerprints, packages and modules will be detected. Additionally, all affected files will be saved in the build so that these files can be shown in the UI later on.,
      Gibt zurück:
      true if post-processing is enabled, false otherwise