Class SonargraphReportBuilder.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
-
- com.hello2morrow.sonargraph.integration.jenkins.controller.AbstractBuildStepDescriptor
-
- com.hello2morrow.sonargraph.integration.jenkins.controller.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
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_CHART_CONFIGURATION
static String
DEFAULT_LOG_FILE
static String
DEFAULT_LOG_LEVEL
static String
DEFAULT_REPORT_GENERATION
static String
DEFAULT_REPORT_PATH
static String
DEFAULT_VIRTUAL_MODEL
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
hudson.util.FormValidation
doCheckBaselineReportPath(hudson.model.AbstractProject<?,?> project, String value)
hudson.util.FormValidation
doCheckLicenseFile(hudson.model.AbstractProject<?,?> project, String value)
hudson.util.FormValidation
doCheckLicenseServerPort(String value)
hudson.util.FormValidation
doCheckLogFile(hudson.model.AbstractProject<?,?> project, String value)
hudson.util.FormValidation
doCheckQualityModelFile(hudson.model.AbstractProject<?,?> project, String value)
hudson.util.FormValidation
doCheckReportPath(hudson.model.AbstractProject<?,?> project, String value)
hudson.util.FormValidation
doCheckSystemDirectory(hudson.model.AbstractProject<?,?> project, String value)
hudson.util.ListBoxModel
doFillLogLevelItems()
hudson.util.ListBoxModel
doFillMetricCategoryItems(hudson.model.AbstractProject<?,?> project)
hudson.util.ListBoxModel
doFillMetricNameItems(hudson.model.AbstractProject<?,?> project, String metricCategory, String metaDataFile)
hudson.util.ComboBoxModel
doFillQualityModelFileItems()
hudson.util.ListBoxModel
doFillSonargraphBuildJDKItems()
hudson.util.ListBoxModel
doFillSonargraphBuildVersionItems()
String
getDisplayName()
String
getLicenseServerHost()
String
getLicenseServerPort()
void
setLicenseServerHost(String licenseServerHost)
void
setLicenseServerPort(String licenseServerPort)
-
Methods inherited from class com.hello2morrow.sonargraph.integration.jenkins.controller.AbstractBuildStepDescriptor
doFillArchitectureViolationsActionItems, doFillArchitectureWarningsActionItems, doFillCyclicElementsActionItems, doFillEmptyWorkspaceActionItems, doFillQualityGateActionItems, doFillThresholdViolationsActionItems, doFillUnassignedTypesActionItems, doFillWorkItemsActionItems, doFillWorkspaceWarningsActionItems, isApplicable
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Field Detail
-
DEFAULT_VIRTUAL_MODEL
public static final String DEFAULT_VIRTUAL_MODEL
- See Also:
- Constant Field Values
-
DEFAULT_LOG_FILE
public static final String DEFAULT_LOG_FILE
- See Also:
- Constant Field Values
-
DEFAULT_LOG_LEVEL
public static final String DEFAULT_LOG_LEVEL
- See Also:
- Constant Field Values
-
DEFAULT_REPORT_PATH
public static final String DEFAULT_REPORT_PATH
- See Also:
- Constant Field Values
-
DEFAULT_REPORT_GENERATION
public static final String DEFAULT_REPORT_GENERATION
- See Also:
- Constant Field Values
-
DEFAULT_CHART_CONFIGURATION
public static final String DEFAULT_CHART_CONFIGURATION
- See Also:
- Constant Field Values
-
-
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 classhudson.model.Descriptor<hudson.tasks.Publisher>
- Throws:
hudson.model.Descriptor.FormException
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classhudson.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()
-
-