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
public class FindBugs extends AnalysisModelParser
Provides a parser and customized messages for FindBugs.- Author:
- Ullrich Hafner
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FindBugs.FindBugsDescriptor
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected edu.hm.hafner.analysis.registry.ParserDescriptor.Option[]
configureOptions()
Returns optional options to configure the parser - these options may customize the new parser instance (if supported by the selected).boolean
getUseRankAsPriority()
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 Detail
-
FindBugs
@DataBoundConstructor public FindBugs()
Creates a new instance ofFindBugs
.
-
-
Method Detail
-
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
-
-