Class FindBugs
java.lang.Object
hudson.model.AbstractDescribableImpl<Tool>
io.jenkins.plugins.analysis.core.model.Tool
io.jenkins.plugins.analysis.core.model.ReportScanningTool
io.jenkins.plugins.analysis.core.model.AnalysisModelParser
io.jenkins.plugins.analysis.warnings.FindBugs
- All Implemented Interfaces:
Describable<Tool>
,Serializable
- Direct Known Subclasses:
SpotBugs
Provides a parser and customized messages for FindBugs.
- Author:
- Ullrich Hafner
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Descriptor for this static analysis tool.Nested classes/interfaces inherited from class io.jenkins.plugins.analysis.core.model.AnalysisModelParser
AnalysisModelParser.AnalysisModelParserDescriptor
Nested classes/interfaces inherited from class io.jenkins.plugins.analysis.core.model.ReportScanningTool
ReportScanningTool.ReportScanningToolDescriptor
Nested classes/interfaces inherited from class io.jenkins.plugins.analysis.core.model.Tool
Tool.ToolDescriptor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected edu.hm.hafner.analysis.registry.ParserDescriptor.Option[]
Returns optional options to configure the parser - these options may customize the new parser instance (if supported by the selected).boolean
void
setUseRankAsPriority
(boolean useRankAsPriority) If useRankAsPriority istrue
, then the FindBugs parser will use the rank when evaluation the priority.Methods inherited from class io.jenkins.plugins.analysis.core.model.AnalysisModelParser
createParser, getDescriptor
Methods inherited from class io.jenkins.plugins.analysis.core.model.ReportScanningTool
getActualPattern, getPattern, getReportEncoding, getSkipSymbolicLinks, scan, setPattern, setReportEncoding, setSkipSymbolicLinks
Methods inherited from class io.jenkins.plugins.analysis.core.model.Tool
getActualId, getActualName, getId, getLabelProvider, getName, getSymbolName, readResolve, setId, setJenkinsFacade, setName
-
Constructor Details
-
FindBugs
@DataBoundConstructor public FindBugs()Creates a new instance ofFindBugs
.
-
-
Method Details
-
configureOptions
protected edu.hm.hafner.analysis.registry.ParserDescriptor.Option[] configureOptions()Description copied from class:AnalysisModelParser
Returns optional options to configure the parser - these options may customize the new parser instance (if supported by the selected).- Overrides:
configureOptions
in classAnalysisModelParser
- Returns:
- the options to use
-
getUseRankAsPriority
public boolean getUseRankAsPriority() -
setUseRankAsPriority
@DataBoundSetter public void setUseRankAsPriority(boolean useRankAsPriority) If useRankAsPriority istrue
, then the FindBugs parser will use the rank when evaluation the priority. Otherwise the priority of the FindBugs warning will be mapped.- Parameters:
useRankAsPriority
-true
to use the rank,false
to use the
-