Class RegisteredParser
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.warnings.RegisteredParser
- All Implemented Interfaces:
Describable<Tool>
,Serializable
Selects a parser from the registered parsers of the analysis-model library by
providing a specific ID.
- 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.ReportScanningTool
ReportScanningTool.ReportScanningToolDescriptor
Nested classes/interfaces inherited from class io.jenkins.plugins.analysis.core.model.Tool
Tool.ToolDescriptor
-
Constructor Summary
ConstructorDescriptionRegisteredParser
(String analysisModelId) Creates a new instance ofRegisteredParser
. -
Method Summary
Methods inherited from class io.jenkins.plugins.analysis.core.model.ReportScanningTool
getDescriptor, getPattern, getReportEncoding, getSkipSymbolicLinks, scan, setPattern, setReportEncoding, setSkipSymbolicLinks
Methods inherited from class io.jenkins.plugins.analysis.core.model.Tool
getActualId, getActualName, getSymbolName, readResolve, setId, setJenkinsFacade, setName
-
Constructor Details
-
RegisteredParser
Creates a new instance ofRegisteredParser
.- Parameters:
analysisModelId
- the unique ID of the tool in the analysis-model module
-
-
Method Details
-
getAnalysisModelId
-
getId
-
getName
-
createParser
public edu.hm.hafner.analysis.IssueParser createParser()Description copied from class:ReportScanningTool
Returns a new parser to scan a log file and return the issues reported in such a file.- Specified by:
createParser
in classReportScanningTool
- Returns:
- the parser to use
-
getLabelProvider
Description copied from class:Tool
Returns the associated label provider for this tool.- Overrides:
getLabelProvider
in classTool
- Returns:
- the label provider
-
getActualPattern
Description copied from class:ReportScanningTool
Returns the actual pattern to work with. If no user defined pattern is given, then the default pattern is returned.- Overrides:
getActualPattern
in classReportScanningTool
- Returns:
- the name
- See Also:
-