Klasse AnalysisStepDescriptor

java.lang.Object
hudson.model.Descriptor<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.StepDescriptor
io.jenkins.plugins.analysis.core.steps.AnalysisStepDescriptor
Alle implementierten Schnittstellen:
Saveable, OnMaster
Bekannte direkte Unterklassen:
PublishIssuesStep.Descriptor, RecordIssuesStep.Descriptor, ScanForIssuesStep.Descriptor

public abstract class AnalysisStepDescriptor extends org.jenkinsci.plugins.workflow.steps.StepDescriptor
Descriptor base class for all analysis steps. Provides generic validation methods, and list box models for UI select elements.
Autor:
Ullrich Hafner
  • Konstruktordetails

    • AnalysisStepDescriptor

      public AnalysisStepDescriptor()
  • Methodendetails

    • doFillSourceCodeEncodingItems

      @POST public ComboBoxModel doFillSourceCodeEncodingItems(@AncestorInPath BuildableItem project)
      Returns a model with all available charsets.
      Parameter:
      project - the project that is configured
      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.
      Parameter:
      project - the project that is configured
      reportEncoding - the character encoding
      Gibt zurück:
      the validation result
    • doCheckSourceCodeEncoding

      @POST public FormValidation doCheckSourceCodeEncoding(@AncestorInPath BuildableItem project, @QueryParameter String sourceCodeEncoding)
      Performs on-the-fly validation on the character encoding.
      Parameter:
      project - the project that is configured
      sourceCodeEncoding - the character encoding
      Gibt zurück:
      the validation result
    • doFillSourceCodeRetentionItems

      @POST public ListBoxModel doFillSourceCodeRetentionItems()
      Returns a model with all SourceCodeRetention strategies.
      Gibt zurück:
      a model with all SourceCodeRetention strategies.
    • doFillMinimumSeverityItems

      @POST public ListBoxModel doFillMinimumSeverityItems()
      Returns a model with all available severity filters.
      Gibt zurück:
      a model with all available severity filters
    • doCheckHealthy

      @POST public FormValidation doCheckHealthy(@AncestorInPath BuildableItem project, @QueryParameter int healthy, @QueryParameter int unhealthy)
      Performs on-the-fly validation of the health report thresholds.
      Parameter:
      project - the project that is configured
      healthy - the healthy threshold
      unhealthy - the unhealthy threshold
      Gibt zurück:
      the validation result
    • doCheckUnhealthy

      @POST public FormValidation doCheckUnhealthy(@AncestorInPath BuildableItem project, @QueryParameter int healthy, @QueryParameter int unhealthy)
      Performs on-the-fly validation of the health report thresholds.
      Parameter:
      project - the project that is configured
      healthy - the healthy threshold
      unhealthy - the unhealthy threshold
      Gibt zurück:
      the validation result
    • doFillTrendChartTypeItems

      @POST public ListBoxModel doFillTrendChartTypeItems()
      Returns a model with all aggregation trend chart positions.
      Gibt zurück:
      a model with all aggregation trend chart positions
    • doCheckId

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

      @POST public ListBoxModel doFillChecksAnnotationScopeItems()
      Returns a model with all WarningChecksPublisher.ChecksAnnotationScope scopes.
      Gibt zurück:
      a model with all WarningChecksPublisher.ChecksAnnotationScope scopes.
    • argumentsToString

      public String argumentsToString(@NonNull Map<String,Object> namedArgs)
      Setzt außer Kraft:
      argumentsToString in Klasse org.jenkinsci.plugins.workflow.steps.StepDescriptor