Class WarningsPlugin.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.core.model.AnalysisModelParser.AnalysisModelParserDescriptor
io.jenkins.plugins.analysis.warnings.WarningsPlugin.Descriptor
- Enclosing class:
WarningsPlugin
@Symbol("issues")
@Extension
public static class WarningsPlugin.Descriptor
extends AnalysisModelParser.AnalysisModelParserDescriptor
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether this parser can scan the console log.getHelp()
Returns an optional help text that can provide useful hints on how to configure the static analysis tool so that the report files could be parsed by Jenkins.Methods inherited from class io.jenkins.plugins.analysis.core.model.AnalysisModelParser.AnalysisModelParserDescriptor
createParser, getDescriptionProvider, getDisplayName, getLabelProvider, getPattern, getUrl
Methods inherited from class io.jenkins.plugins.analysis.core.model.ReportScanningTool.ReportScanningToolDescriptor
doCheckPattern, doCheckReportEncoding, doFillReportEncodingItems, hasDefaultPattern
Methods inherited from class io.jenkins.plugins.analysis.core.model.Tool.ToolDescriptor
doCheckId, getId, getName, getSymbolName, isPostProcessingEnabled
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, 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, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
Descriptor
public Descriptor()Creates the descriptor instance.
-
-
Method Details
-
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
-
getHelp
Description copied from class:Tool.ToolDescriptor
Returns an optional help text that can provide useful hints on how to configure the static analysis tool so that the report files could be parsed by Jenkins. This help can be a plain text message or an HTML snippet.- Overrides:
getHelp
in classAnalysisModelParser.AnalysisModelParserDescriptor
- Returns:
- the help
-