Class GroovyScript.Descriptor
java.lang.Object
hudson.model.Descriptor<Tool>
io.jenkins.plugins.analysis.core.model.Tool.ToolDescriptor
io.jenkins.plugins.analysis.core.model.ReportScanningTool.ReportScanningToolDescriptor
io.jenkins.plugins.analysis.warnings.groovy.GroovyScript.Descriptor
- Enclosing class:
- GroovyScript
@Symbol("groovyScript")
@Extension
public static class GroovyScript.Descriptor
extends ReportScanningTool.ReportScanningToolDescriptor
Descriptor for this static analysis tool.
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self -
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether this parser can scan the console log.doFillParserIdItems(BuildableItem project) Returns all registered Groovy parsers.Methods inherited from class io.jenkins.plugins.analysis.core.model.ReportScanningTool.ReportScanningToolDescriptor
doCheckPattern, doCheckReportEncoding, doFillReportEncodingItems, getPattern, hasDefaultPatternMethods inherited from class io.jenkins.plugins.analysis.core.model.Tool.ToolDescriptor
doCheckId, getHelp, getIcon, getId, getLabelProvider, getName, getSymbolName, getUrl, isPostProcessingEnabledMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
Descriptor
public Descriptor()Creates the descriptor instance.
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<Tool>
-
canScanConsoleLog
public boolean canScanConsoleLog()Description copied from class:ReportScanningTool.ReportScanningToolDescriptorReturns whether this parser can scan the console log. Typically, only line-based parsers can scan the console log. XML parsers should always parse a given file only.- Overrides:
canScanConsoleLogin classReportScanningTool.ReportScanningToolDescriptor- Returns:
- the parser to use
-
doFillParserIdItems
Returns all registered Groovy parsers. These are packed into aListBoxModelin order to show them in the list box of the config.jelly view part.- Parameters:
project- the project that is configured- Returns:
- the model of the list box
-