Class GroovyScript
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.groovy.GroovyScript
- All Implemented Interfaces:
Describable<Tool>
,Serializable
Selects a
GroovyParser
using the specified 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
-
Method Summary
Modifier and TypeMethodDescriptionedu.hm.hafner.analysis.IssueParser
Returns a new parser to scan a log file and return the issues reported in such a file.Returns the actual ID of the tool.Returns the actual name of the tool.Returns the associated label provider for this tool.Methods inherited from class io.jenkins.plugins.analysis.core.model.ReportScanningTool
getActualPattern, getDescriptor, getPattern, getReportEncoding, getSkipSymbolicLinks, scan, setPattern, setReportEncoding, setSkipSymbolicLinks
Methods inherited from class io.jenkins.plugins.analysis.core.model.Tool
getId, getName, getSymbolName, readResolve, setId, setJenkinsFacade, setName
-
Constructor Details
-
GroovyScript
Creates a new instance ofGroovyScript
.- Parameters:
parserId
- ID of the Groovy parser
-
-
Method Details
-
getParserId
-
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
-
getActualId
Description copied from class:Tool
Returns the actual ID of the tool. If no user defined ID is given, then the default ID is returned.- Overrides:
getActualId
in classTool
- Returns:
- the ID
- See Also:
-
getActualName
Description copied from class:Tool
Returns the actual name of the tool. If no user defined name is given, then the default name is returned.- Overrides:
getActualName
in classTool
- Returns:
- the name
- See Also:
-