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 Constructor Description Descriptor()
Creates the descriptor instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canScanConsoleLog()
Returns whether this parser can scan the console log.ListBoxModel
doFillParserIdItems(AbstractProject<?,?> project)
Returns all registered Groovy parsers.String
getDisplayName()
-
Methods inherited from class io.jenkins.plugins.analysis.core.model.ReportScanningTool.ReportScanningToolDescriptor
doCheckPattern, doCheckReportEncoding, doFillReportEncodingItems, getPattern, hasDefaultPattern
-
Methods inherited from class io.jenkins.plugins.analysis.core.model.Tool.ToolDescriptor
doCheckId, getHelp, getId, getLabelProvider, getName, getSymbolName, getUrl, isPostProcessingEnabled
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getDisplayName
@NonNull public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Tool>
-
canScanConsoleLog
public boolean canScanConsoleLog()
Description copied from class:ReportScanningTool.ReportScanningToolDescriptor
Returns 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:
canScanConsoleLog
in classReportScanningTool.ReportScanningToolDescriptor
- Returns:
- the parser to use
-
doFillParserIdItems
@POST public ListBoxModel doFillParserIdItems(@AncestorInPath AbstractProject<?,?> project)
Returns all registered Groovy parsers. These are packed into aListBoxModel
in 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
-
-