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 SummaryNested ClassesModifier and TypeClassDescriptionstatic classDescriptor for this static analysis tool.Nested classes/interfaces inherited from class io.jenkins.plugins.analysis.core.model.ReportScanningToolReportScanningTool.ReportScanningToolDescriptorNested classes/interfaces inherited from class io.jenkins.plugins.analysis.core.model.ToolTool.ToolDescriptor
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionedu.hm.hafner.analysis.IssueParserReturns 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.ReportScanningToolgetActualPattern, getDescriptor, getLinesLookAhead, getPattern, getReportEncoding, getSkipSymbolicLinks, scan, setLinesLookAhead, setPattern, setReportEncoding, setSkipSymbolicLinksMethods inherited from class io.jenkins.plugins.analysis.core.model.ToolgetIcon, getId, getName, getSymbolName, readResolve, setIcon, setId, setJenkinsFacade, setName
- 
Constructor Details- 
GroovyScriptCreates a new instance ofGroovyScript.- Parameters:
- parserId- ID of the Groovy parser
 
 
- 
- 
Method Details- 
getParserId
- 
createParserpublic edu.hm.hafner.analysis.IssueParser createParser()Description copied from class:ReportScanningToolReturns a new parser to scan a log file and return the issues reported in such a file.- Specified by:
- createParserin class- ReportScanningTool
- Returns:
- the parser to use
 
- 
getLabelProviderDescription copied from class:ToolReturns the associated label provider for this tool.- Overrides:
- getLabelProviderin class- Tool
- Returns:
- the label provider
 
- 
getActualIdDescription copied from class:ToolReturns the actual ID of the tool. If no user defined ID is given, then the default ID is returned.- Overrides:
- getActualIdin class- Tool
- Returns:
- the ID
- See Also:
 
- 
getActualNameDescription copied from class:ToolReturns the actual name of the tool. If no user defined name is given, then the default name is returned.- Overrides:
- getActualNamein class- Tool
- Returns:
- the name
- See Also:
 
 
-