Class FindBugs.FindBugsDescriptor
- 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.FindBugs.FindBugsDescriptor
-
- Direct Known Subclasses:
SpotBugs.Descriptor
- Enclosing class:
- FindBugs
@Symbol("findBugs") @Extension public static class FindBugs.FindBugsDescriptor 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 FindBugsDescriptor()
Creates the descriptor instance.FindBugsDescriptor(String id)
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.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, bindJSON, 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
-
-
-
-
Constructor Detail
-
FindBugsDescriptor
public FindBugsDescriptor()
Creates the descriptor instance.
-
FindBugsDescriptor
public FindBugsDescriptor(String id)
Creates the descriptor instance.- Parameters:
id
- ID of the tool
-
-
Method Detail
-
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
-
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
-
-