Class DupFinder.Descriptor
- java.lang.Object
-
- hudson.model.Descriptor<Tool>
-
- io.jenkins.plugins.analysis.core.model.Tool.ToolDescriptor
-
- io.jenkins.plugins.analysis.core.model.ReportScanningTool.ReportScanningToolDescriptor
-
- io.jenkins.plugins.analysis.core.model.AnalysisModelParser.AnalysisModelParserDescriptor
-
- io.jenkins.plugins.analysis.warnings.DupFinder.Descriptor
-
- Enclosing class:
- DupFinder
@Symbol("dupFinder") @Extension public static class DupFinder.Descriptor extends AnalysisModelParser.AnalysisModelParserDescriptor
Descriptor for this static analysis tool.
-
-
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 Constructor Description Descriptor()
Creates the descriptor instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canScanConsoleLog()
Returns whether this parser can scan the console log.FormValidation
doCheckHighThreshold(AbstractProject<?,?> project, int highThreshold, int normalThreshold)
Performs on-the-fly validation on threshold for high warnings.FormValidation
doCheckNormalThreshold(AbstractProject<?,?> project, int highThreshold, int normalThreshold)
Performs on-the-fly validation on threshold for normal warnings.StaticAnalysisLabelProvider
getLabelProvider()
Returns aStaticAnalysisLabelProvider
that will render all tool specific labels.-
Methods inherited from class io.jenkins.plugins.analysis.core.model.AnalysisModelParser.AnalysisModelParserDescriptor
createParser, getDescriptionProvider, getDisplayName, getHelp, getPattern, getUrl
-
Methods inherited from class io.jenkins.plugins.analysis.core.model.ReportScanningTool.ReportScanningToolDescriptor
doCheckPattern, doCheckReportEncoding, doFillReportEncodingItems, hasDefaultPattern
-
Methods inherited from class io.jenkins.plugins.analysis.core.model.Tool.ToolDescriptor
doCheckId, getId, getName, getSymbolName, isPostProcessingEnabled
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
canScanConsoleLog
public boolean canScanConsoleLog()
Description copied from class:ReportScanningTool.ReportScanningToolDescriptor
Returns whether this parser can scan the console log. Typically, only line based parsers can scan the console log. XML parsers should always parse a given file only.- Overrides:
canScanConsoleLog
in classReportScanningTool.ReportScanningToolDescriptor
- Returns:
- the parser to use
-
getLabelProvider
public StaticAnalysisLabelProvider getLabelProvider()
Description copied from class:AnalysisModelParser.AnalysisModelParserDescriptor
Returns aStaticAnalysisLabelProvider
that will render all tool specific labels.- Overrides:
getLabelProvider
in classAnalysisModelParser.AnalysisModelParserDescriptor
- Returns:
- a tool specific
StaticAnalysisLabelProvider
-
doCheckHighThreshold
@POST public FormValidation doCheckHighThreshold(@AncestorInPath AbstractProject<?,?> project, @QueryParameter("highThreshold") int highThreshold, @QueryParameter("normalThreshold") int normalThreshold)
Performs on-the-fly validation on threshold for high warnings.- Parameters:
project
- the project that is configuredhighThreshold
- the threshold for high warningsnormalThreshold
- the threshold for normal warnings- Returns:
- the validation result
-
doCheckNormalThreshold
@POST public FormValidation doCheckNormalThreshold(@AncestorInPath AbstractProject<?,?> project, @QueryParameter("highThreshold") int highThreshold, @QueryParameter("normalThreshold") int normalThreshold)
Performs on-the-fly validation on threshold for normal warnings.- Parameters:
project
- the project that is configuredhighThreshold
- the threshold for high warningsnormalThreshold
- the threshold for normal warnings- Returns:
- the validation result
-
-