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
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckRegex(String value)
Check the regular expression entered by the userFormValidation
doValidate(String regex, String failedValidationMessage, String value)
Called to validate the passed user entered value against the configured regular expression.String
getDisplayName()
-
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
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classParameterDefinition.ParameterDescriptor
-
doCheckRegex
@POST public FormValidation doCheckRegex(@QueryParameter String value)
Check the regular expression entered by the user
-
doValidate
@POST public FormValidation doValidate(@QueryParameter("regex") String regex, @QueryParameter("failedValidationMessage") String failedValidationMessage, @QueryParameter("value") String value)
Called to validate the passed user entered value against the configured regular expression.
-
-