Klasse ReportScanningTool.ReportScanningToolDescriptor
java.lang.Object
hudson.model.Descriptor<Tool>
io.jenkins.plugins.analysis.core.model.Tool.ToolDescriptor
io.jenkins.plugins.analysis.core.model.ReportScanningTool.ReportScanningToolDescriptor
- Bekannte direkte Unterklassen:
AnalysisModelParser.AnalysisModelParserDescriptor
,GroovyScript.Descriptor
,RegisteredParser.Descriptor
- Umschließende Klasse:
ReportScanningTool
Descriptor for
ReportScanningTool
.- Autor:
- Ullrich Hafner
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Feldübersicht
Von Klasse geerbte Felder hudson.model.Descriptor
clazz
-
Konstruktorübersicht
ModifiziererKonstruktorBeschreibungprotected
Creates a new instance ofReportScanningTool.ReportScanningToolDescriptor
with the given ID. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
Returns whether this parser can scan the console log.doCheckPattern
(AbstractProject<?, ?> project, String pattern) Performs on-the-fly validation on the ant pattern for input files.doCheckReportEncoding
(BuildableItem project, String reportEncoding) Performs on-the-fly validation of the character encoding.Returns a model with all available charsets.Returns the default filename pattern for this tool.boolean
Indicates whether this scanning tool has a default pattern, or not.Von Klasse geerbte Methoden io.jenkins.plugins.analysis.core.model.Tool.ToolDescriptor
doCheckId, getHelp, getId, getLabelProvider, getName, getSymbolName, getUrl, isPostProcessingEnabled
Von Klasse geerbte Methoden hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, 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
-
Konstruktordetails
-
ReportScanningToolDescriptor
Creates a new instance ofReportScanningTool.ReportScanningToolDescriptor
with the given ID.- Parameter:
id
- the unique ID of the tool
-
-
Methodendetails
-
doFillReportEncodingItems
Returns a model with all available charsets.- Gibt zurück:
- a model with all available charsets
-
doCheckReportEncoding
@POST public FormValidation doCheckReportEncoding(@AncestorInPath BuildableItem project, @QueryParameter String reportEncoding) Performs on-the-fly validation of the character encoding.- Parameter:
project
- the project that is configuredreportEncoding
- the character encoding- Gibt zurück:
- the validation result
-
doCheckPattern
@POST public FormValidation doCheckPattern(@AncestorInPath AbstractProject<?, ?> project, @QueryParameter String pattern) Performs on-the-fly validation on the ant pattern for input files.- Parameter:
project
- the project that is configuredpattern
- the file pattern- Gibt zurück:
- the validation result
-
hasDefaultPattern
public boolean hasDefaultPattern()Indicates whether this scanning tool has a default pattern, or not. If it does, it means it can never scan the console, but also means that we don't require a user-specified pattern as we have a usable default.- Gibt zurück:
- true if
getPattern()
returns a non-empty string.
-
canScanConsoleLog
public boolean canScanConsoleLog()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.- Gibt zurück:
- the parser to use
-
getPattern
Returns the default filename pattern for this tool. Override if your parser typically works on a specific file. Note: if you provide a default pattern, then it is not possible to scan Jenkins' console log of a build.- Gibt zurück:
- the default pattern
-