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
- Since:
- 1.0
- Author:
- Peter Hayes
-
Nested Class Summary
Nested classes/interfaces inherited from class Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self -
Field Summary
Fields inherited from class Descriptor
clazz -
Constructor Summary
Constructors -
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 ParameterDefinition.ParameterDescriptor
getValuePageMethods inherited from class 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, getId, 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
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein 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.
-