Klasse Cpd.Descriptor

Alle implementierten Schnittstellen:
Saveable, OnMaster
Umschließende Klasse:
Cpd

@Symbol("cpd") @Extension public static class Cpd.Descriptor extends AnalysisModelParser.AnalysisModelParserDescriptor
Descriptor for this static analysis tool.
  • Konstruktordetails

    • Descriptor

      public Descriptor()
      Creates the descriptor instance.
  • Methodendetails

    • getLabelProvider

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

      @POST public FormValidation doCheckHighThreshold(@AncestorInPath BuildableItem project, @QueryParameter("highThreshold") int highThreshold, @QueryParameter("normalThreshold") int normalThreshold)
      Performs on-the-fly validation of the threshold for high warnings.
      Parameter:
      project - the project that is configured
      highThreshold - the threshold for high warnings
      normalThreshold - the threshold for normal warnings
      Gibt zurück:
      the validation result
    • doCheckNormalThreshold

      @POST public FormValidation doCheckNormalThreshold(@AncestorInPath BuildableItem project, @QueryParameter("highThreshold") int highThreshold, @QueryParameter("normalThreshold") int normalThreshold)
      Performs on-the-fly validation of the threshold for normal warnings.
      Parameter:
      project - the project that is configured
      highThreshold - the threshold for high warnings
      normalThreshold - the threshold for normal warnings
      Gibt zurück:
      the validation result