Class ValidatingStringParameterDefinition.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<ParameterDefinition>
hudson.model.ParameterDefinition.ParameterDescriptor
hudson.plugins.validating_string_parameter.ValidatingStringParameterDefinition.DescriptorImpl
- Enclosing class:
- ValidatingStringParameterDefinition
@Extension
@Symbol("validatingString")
public static class ValidatingStringParameterDefinition.DescriptorImpl
extends ParameterDefinition.ParameterDescriptor
-
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 TypeMethodDescriptiondoCheckRegex
(String value) Check the regular expression entered by the userdoValidate
(String regex, String failedValidationMessage, String value) Called to validate the passed user entered value against the configured regular expression.Methods inherited from class hudson.model.ParameterDefinition.ParameterDescriptor
getValuePage
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, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classParameterDefinition.ParameterDescriptor
-
doCheckRegex
Check the regular expression entered by the user -
doValidate
@POST public FormValidation doValidate(@QueryParameter String regex, @QueryParameter String failedValidationMessage, @QueryParameter String value) Called to validate the passed user entered value against the configured regular expression.
-