Class AnalysisStepDescriptor

    • Constructor Detail

      • AnalysisStepDescriptor

        public AnalysisStepDescriptor()
    • Method Detail

      • doFillSourceCodeEncodingItems

        @POST
        public ComboBoxModel doFillSourceCodeEncodingItems​(@AncestorInPath
                                                           AbstractProject<?,​?> project)
        Returns a model with all available charsets.
        Parameters:
        project - the project that is configured
        Returns:
        a model with all available charsets
      • doCheckReportEncoding

        @POST
        public FormValidation doCheckReportEncoding​(@AncestorInPath
                                                    AbstractProject<?,​?> project,
                                                    @QueryParameter
                                                    String reportEncoding)
        Performs on-the-fly validation of the character encoding.
        Parameters:
        project - the project that is configured
        reportEncoding - the character encoding
        Returns:
        the validation result
      • doCheckSourceCodeEncoding

        @POST
        public FormValidation doCheckSourceCodeEncoding​(@AncestorInPath
                                                        AbstractProject<?,​?> project,
                                                        @QueryParameter
                                                        String sourceCodeEncoding)
        Performs on-the-fly validation on the character encoding.
        Parameters:
        project - the project that is configured
        sourceCodeEncoding - the character encoding
        Returns:
        the validation result
      • doFillMinimumSeverityItems

        @POST
        public ListBoxModel doFillMinimumSeverityItems​(@AncestorInPath
                                                       AbstractProject<?,​?> project)
        Returns a model with all available severity filters.
        Parameters:
        project - the project that is configured
        Returns:
        a model with all available severity filters
      • doFillReferenceJobNameItems

        @Deprecated
        @POST
        public ComboBoxModel doFillReferenceJobNameItems​(@AncestorInPath
                                                         AbstractProject<?,​?> project)
        Deprecated.
        not used anymore, part of forensics plugin
        Returns the model with the possible reference jobs.
        Parameters:
        project - the project that is configured
        Returns:
        the model with the possible reference jobs
      • doCheckHealthy

        @POST
        public FormValidation doCheckHealthy​(@AncestorInPath
                                             AbstractProject<?,​?> project,
                                             @QueryParameter
                                             int healthy,
                                             @QueryParameter
                                             int unhealthy)
        Performs on-the-fly validation of the health report thresholds.
        Parameters:
        project - the project that is configured
        healthy - the healthy threshold
        unhealthy - the unhealthy threshold
        Returns:
        the validation result
      • doCheckUnhealthy

        @POST
        public FormValidation doCheckUnhealthy​(@AncestorInPath
                                               AbstractProject<?,​?> project,
                                               @QueryParameter
                                               int healthy,
                                               @QueryParameter
                                               int unhealthy)
        Performs on-the-fly validation of the health report thresholds.
        Parameters:
        project - the project that is configured
        healthy - the healthy threshold
        unhealthy - the unhealthy threshold
        Returns:
        the validation result
      • doFillTrendChartTypeItems

        @POST
        public ListBoxModel doFillTrendChartTypeItems​(@AncestorInPath
                                                      AbstractProject<?,​?> project)
        Returns a model with all aggregation trend chart positions.
        Parameters:
        project - the project that is configured
        Returns:
        a model with all aggregation trend chart positions
      • doCheckId

        @POST
        public FormValidation doCheckId​(@AncestorInPath
                                        AbstractProject<?,​?> project,
                                        @QueryParameter
                                        String id)
        Performs on-the-fly validation of the ID.
        Parameters:
        project - the project that is configured
        id - the ID of the tool
        Returns:
        the validation result
      • argumentsToString

        public String argumentsToString​(@NonNull
                                        Map<String,​Object> namedArgs)
        Overrides:
        argumentsToString in class org.jenkinsci.plugins.workflow.steps.StepDescriptor