Class IssuesRecorder.Descriptor
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Publisher>
io.jenkins.plugins.analysis.core.steps.IssuesRecorder.Descriptor
- Enclosing class:
- IssuesRecorder
@Extension
@Symbol("recordIssues")
public static class IssuesRecorder.Descriptor
extends BuildStepDescriptor<Publisher>
Descriptor for this step: defines the context and the UI elements.
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self -
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidRetain backward compatibility.doCheckHealthy(BuildableItem project, int healthy, int unhealthy) Performs on-the-fly validation of the health report thresholds.doCheckId(BuildableItem project, String id) Performs on-the-fly validation of the ID.doCheckReportEncoding(BuildableItem project, String reportEncoding) Performs on-the-fly validation of the character encoding.doCheckSourceCodeEncoding(BuildableItem project, String sourceCodeEncoding) Performs on-the-fly validation on the character encoding.doCheckUnhealthy(BuildableItem project, int healthy, int unhealthy) Performs on-the-fly validation of the health report thresholds.Returns a model with allWarningChecksPublisher.ChecksAnnotationScopescopes.Returns a model with all available severity filters.Returns a model with all available charsets.Returns a model with allSourceCodeRetentionstrategies.Returns a model with all aggregation trend chart positions.booleanisApplicable(Class<? extends AbstractProject> jobType) Methods inherited from class hudson.tasks.BuildStepDescriptor
filterMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
Descriptor
public Descriptor()
-
-
Method Details
-
addAliases
Retain backward compatibility. -
getDefaultId
-
getDefaultName
-
getDefaultIcon
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<Publisher>
-
isApplicable
- Specified by:
isApplicablein classBuildStepDescriptor<Publisher>
-
doCheckId
@POST public FormValidation doCheckId(@AncestorInPath BuildableItem project, @QueryParameter String id) Performs on-the-fly validation of the ID.- Parameters:
project- the project that is configuredid- the ID of the tool- Returns:
- the validation result
-
doFillSourceCodeEncodingItems
Returns a model with all available charsets.- Parameters:
project- the project that is configured- Returns:
- a model with all available charsets
-
doFillSourceCodeRetentionItems
Returns a model with allSourceCodeRetentionstrategies.- Returns:
- a model with all
SourceCodeRetentionstrategies.
-
doFillMinimumSeverityItems
Returns a model with all available severity filters.- Returns:
- a model with all available severity filters
-
doCheckReportEncoding
@POST public FormValidation doCheckReportEncoding(@AncestorInPath BuildableItem project, @QueryParameter String reportEncoding) Performs on-the-fly validation of the character encoding.- Parameters:
project- the project that is configuredreportEncoding- the character encoding- Returns:
- the validation result
-
doCheckSourceCodeEncoding
@POST public FormValidation doCheckSourceCodeEncoding(@AncestorInPath BuildableItem project, @QueryParameter String sourceCodeEncoding) Performs on-the-fly validation on the character encoding.- Parameters:
project- the project that is configuredsourceCodeEncoding- the character encoding- Returns:
- the validation result
-
doCheckHealthy
@POST public FormValidation doCheckHealthy(@AncestorInPath BuildableItem project, @QueryParameter int healthy, @QueryParameter int unhealthy) Performs on-the-fly validation of the health report thresholds.- Parameters:
project- the project that is configuredhealthy- the healthy thresholdunhealthy- the unhealthy threshold- Returns:
- 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.- Parameters:
project- the project that is configuredhealthy- the healthy thresholdunhealthy- the unhealthy threshold- Returns:
- the validation result
-
doFillTrendChartTypeItems
Returns a model with all aggregation trend chart positions.- Returns:
- a model with all aggregation trend chart positions
-
doFillChecksAnnotationScopeItems
Returns a model with allWarningChecksPublisher.ChecksAnnotationScopescopes.- Returns:
- a model with all
WarningChecksPublisher.ChecksAnnotationScopescopes.
-