Klasse GroovyParser.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<GroovyParser>
io.jenkins.plugins.analysis.warnings.groovy.GroovyParser.DescriptorImpl
- Umschließende Klasse:
GroovyParser
Descriptor to validate
GroovyParser
.- 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
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdoCheckExample
(BuildableItem project, String example, String regexp, String script) Parses the example message with the specified regular expression and script.doCheckId
(BuildableItem project, String id) Performs on-the-fly validation of the parser ID.doCheckName
(BuildableItem project, String name) Performs on-the-fly validation on the name of the parser that needs to be unique.doCheckRegexp
(BuildableItem project, String regexp) Performs on-the-fly validation on the regular expression.doCheckScript
(BuildableItem project, String script) Performs on-the-fly validation on the Groovy script.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, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Konstruktordetails
-
DescriptorImpl
public DescriptorImpl()Creates a new descriptor.
-
-
Methodendetails
-
doCheckId
@POST public FormValidation doCheckId(@AncestorInPath BuildableItem project, @QueryParameter(required=true) String id) Performs on-the-fly validation of the parser ID. The ID needs to be unique.- Parameter:
project
- the project that is configuredid
- the ID of the parser- Gibt zurück:
- the validation result
-
doCheckName
@POST public FormValidation doCheckName(@AncestorInPath BuildableItem project, @QueryParameter(required=true) String name) Performs on-the-fly validation on the name of the parser that needs to be unique.- Parameter:
project
- the project that is configuredname
- the name of the parser- Gibt zurück:
- the validation result
-
doCheckRegexp
@POST public FormValidation doCheckRegexp(@AncestorInPath BuildableItem project, @QueryParameter(required=true) String regexp) Performs on-the-fly validation on the regular expression.- Parameter:
project
- the project that is configuredregexp
- the regular expression- Gibt zurück:
- the validation result
-
doCheckScript
@POST public FormValidation doCheckScript(@AncestorInPath BuildableItem project, @QueryParameter(required=true) String script) Performs on-the-fly validation on the Groovy script.- Parameter:
project
- the project that is configuredscript
- the script- Gibt zurück:
- the validation result
-
doCheckExample
@POST public FormValidation doCheckExample(@AncestorInPath BuildableItem project, @QueryParameter String example, @QueryParameter String regexp, @QueryParameter String script) Parses the example message with the specified regular expression and script.- Parameter:
project
- the project that is configuredexample
- example that should resolve to a warningregexp
- the regular expressionscript
- the script- Gibt zurück:
- the validation result
-
getDisplayName
- Setzt außer Kraft:
getDisplayName
in KlasseDescriptor<GroovyParser>
-