Klasse DuplicateCodeScanner
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.DuplicateCodeScanner
- Alle implementierten Schnittstellen:
Describable<Tool>
,Serializable
Provides settings for duplicate code scanners.
- Autor:
- Ullrich Hafner
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungstatic class
Provides a table that contains the duplication references as well.Von Klasse geerbte verschachtelte Klassen/Schnittstellen io.jenkins.plugins.analysis.core.model.AnalysisModelParser
AnalysisModelParser.AnalysisModelParserDescriptor
Von Klasse geerbte verschachtelte Klassen/Schnittstellen io.jenkins.plugins.analysis.core.model.ReportScanningTool
ReportScanningTool.ReportScanningToolDescriptor
Von Klasse geerbte verschachtelte Klassen/Schnittstellen io.jenkins.plugins.analysis.core.model.Tool
Tool.ToolDescriptor
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected 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).int
Returns the minimum number of duplicate lines for high severity warnings.int
Returns the minimum number of duplicate lines for normal warnings.void
setHighThreshold
(int highThreshold) Sets the minimum number of duplicate lines for high severity warnings.void
setNormalThreshold
(int normalThreshold) Sets the minimum number of duplicate lines for normal severity warnings.Von Klasse geerbte Methoden io.jenkins.plugins.analysis.core.model.AnalysisModelParser
createParser, getDescriptor
Von Klasse geerbte Methoden io.jenkins.plugins.analysis.core.model.ReportScanningTool
getActualPattern, getPattern, getReportEncoding, getSkipSymbolicLinks, scan, setPattern, setReportEncoding, setSkipSymbolicLinks
Von Klasse geerbte Methoden io.jenkins.plugins.analysis.core.model.Tool
getActualId, getActualName, getId, getLabelProvider, getName, getSymbolName, readResolve, setId, setJenkinsFacade, setName
-
Konstruktordetails
-
DuplicateCodeScanner
public DuplicateCodeScanner()
-
-
Methodendetails
-
configureOptions
protected edu.hm.hafner.analysis.registry.ParserDescriptor.Option[] configureOptions()Beschreibung aus Klasse kopiert:AnalysisModelParser
Returns optional options to configure the parser - these options may customize the new parser instance (if supported by the selected).- Setzt außer Kraft:
configureOptions
in KlasseAnalysisModelParser
- Gibt zurück:
- the options to use
-
getHighThreshold
public int getHighThreshold()Returns the minimum number of duplicate lines for high severity warnings.- Gibt zurück:
- the minimum number of duplicate lines for high severity warnings
-
setHighThreshold
@DataBoundSetter public void setHighThreshold(int highThreshold) Sets the minimum number of duplicate lines for high severity warnings.- Parameter:
highThreshold
- the number of lines for severity high
-
getNormalThreshold
public int getNormalThreshold()Returns the minimum number of duplicate lines for normal warnings.- Gibt zurück:
- the minimum number of duplicate lines for normal warnings
-
setNormalThreshold
@DataBoundSetter public void setNormalThreshold(int normalThreshold) Sets the minimum number of duplicate lines for normal severity warnings.- Parameter:
normalThreshold
- the number of lines for severity normal
-