Class NpmAudit.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.NpmAudit.Descriptor
- Enclosing class:
- NpmAudit
@Symbol("npmAudit")
@Extension
public static class NpmAudit.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether this parser can scan the console log.Returns aStaticAnalysisLabelProviderthat will render all tool specific labels.booleanReturns whether post-processing on the agent is enabled for this tool.Methods inherited from class io.jenkins.plugins.analysis.core.model.AnalysisModelParser.AnalysisModelParserDescriptor
createParser, getDescriptionProvider, getDisplayName, getHelp, getPattern, getUrlMethods inherited from class io.jenkins.plugins.analysis.core.model.ReportScanningTool.ReportScanningToolDescriptor
doCheckPattern, doCheckReportEncoding, doFillReportEncodingItems, hasDefaultPatternMethods inherited from class io.jenkins.plugins.analysis.core.model.Tool.ToolDescriptor
doCheckId, getIcon, getId, getName, getSymbolNameMethods 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 a new instance ofNpmAudit.Descriptor.
-
-
Method Details
-
getLabelProvider
Description copied from class:AnalysisModelParser.AnalysisModelParserDescriptorReturns aStaticAnalysisLabelProviderthat will render all tool specific labels.- Overrides:
getLabelProviderin classAnalysisModelParser.AnalysisModelParserDescriptor- Returns:
- a tool specific
StaticAnalysisLabelProvider
-
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
-
isPostProcessingEnabled
public boolean isPostProcessingEnabled()Description copied from class:Tool.ToolDescriptorReturns whether post-processing on the agent is enabled for this tool. If enabled, for all issues absolute paths, fingerprints, packages and modules will be detected. Additionally, all affected files will be saved in the build so that these files can be shown in the UI later on.,- Overrides:
isPostProcessingEnabledin classTool.ToolDescriptor- Returns:
trueif post-processing is enabled,falseotherwise
-