Class SonargraphReportBuilder.DescriptorImpl

  • All Implemented Interfaces:
    hudson.model.Saveable, jenkins.util.io.OnMaster
    Enclosing class:
    SonargraphReportBuilder

    @Extension
    @Symbol("SonargraphReport")
    public static final class SonargraphReportBuilder.DescriptorImpl
    extends AbstractBuildStepDescriptor
    • Constructor Detail

      • DescriptorImpl

        public DescriptorImpl()
    • Method Detail

      • getLicenseServerHost

        public String getLicenseServerHost()
      • getLicenseServerPort

        public String getLicenseServerPort()
      • setLicenseServerHost

        public void setLicenseServerHost​(String licenseServerHost)
      • setLicenseServerPort

        public void setLicenseServerPort​(String licenseServerPort)
      • configure

        public boolean configure​(org.kohsuke.stapler.StaplerRequest req,
                                 net.sf.json.JSONObject json)
                          throws hudson.model.Descriptor.FormException
        Overrides:
        configure in class hudson.model.Descriptor<hudson.tasks.Publisher>
        Throws:
        hudson.model.Descriptor.FormException
      • getDisplayName

        public String getDisplayName()
        Overrides:
        getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>
      • doFillSonargraphBuildJDKItems

        public hudson.util.ListBoxModel doFillSonargraphBuildJDKItems()
      • doFillSonargraphBuildVersionItems

        public hudson.util.ListBoxModel doFillSonargraphBuildVersionItems()
      • doFillMetricCategoryItems

        public hudson.util.ListBoxModel doFillMetricCategoryItems​(@AncestorInPath
                                                                  hudson.model.AbstractProject<?,​?> project)
      • doFillMetricNameItems

        public hudson.util.ListBoxModel doFillMetricNameItems​(@AncestorInPath
                                                              hudson.model.AbstractProject<?,​?> project,
                                                              @QueryParameter
                                                              String metricCategory,
                                                              @QueryParameter("metaDataFile") @RelativePath("..")
                                                              String metaDataFile)
      • doFillQualityModelFileItems

        public hudson.util.ComboBoxModel doFillQualityModelFileItems()
      • doCheckLicenseFile

        public hudson.util.FormValidation doCheckLicenseFile​(@AncestorInPath
                                                             hudson.model.AbstractProject<?,​?> project,
                                                             @QueryParameter
                                                             String value)
      • doCheckLicenseServerPort

        public hudson.util.FormValidation doCheckLicenseServerPort​(@QueryParameter
                                                                   String value)
      • doCheckLogFile

        public hudson.util.FormValidation doCheckLogFile​(@AncestorInPath
                                                         hudson.model.AbstractProject<?,​?> project,
                                                         @QueryParameter
                                                         String value)
                                                  throws IOException
        Throws:
        IOException
      • doCheckQualityModelFile

        public hudson.util.FormValidation doCheckQualityModelFile​(@AncestorInPath
                                                                  hudson.model.AbstractProject<?,​?> project,
                                                                  @QueryParameter
                                                                  String value)
                                                           throws IOException
        Throws:
        IOException
      • doCheckReportPath

        public hudson.util.FormValidation doCheckReportPath​(@AncestorInPath
                                                            hudson.model.AbstractProject<?,​?> project,
                                                            @QueryParameter
                                                            String value)
                                                     throws IOException
        Throws:
        IOException
      • doCheckBaselineReportPath

        public hudson.util.FormValidation doCheckBaselineReportPath​(@AncestorInPath
                                                                    hudson.model.AbstractProject<?,​?> project,
                                                                    @QueryParameter
                                                                    String value)
                                                             throws IOException
        Throws:
        IOException
      • doCheckSystemDirectory

        public hudson.util.FormValidation doCheckSystemDirectory​(@AncestorInPath
                                                                 hudson.model.AbstractProject<?,​?> project,
                                                                 @QueryParameter
                                                                 String value)
                                                          throws IOException
        Throws:
        IOException
      • doFillLogLevelItems

        public hudson.util.ListBoxModel doFillLogLevelItems()