Class ValidatingStringParameterDefinition
java.lang.Object
hudson.model.ParameterDefinition
hudson.plugins.validating_string_parameter.ValidatingStringParameterDefinition
- All Implemented Interfaces:
ExtensionPoint
,Describable<ParameterDefinition>
,Serializable
String based parameter that supports setting a regular expression to validate the
user's entered value, giving real-time feedback on the value.
- Since:
- 1.0
- Author:
- Peter Hayes
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.ParameterDefinition
ParameterDefinition.ParameterDescriptor
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.model.ParameterDefinition
LIST
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateValue
(CLICommand command, String value) createValue
(org.kohsuke.stapler.StaplerRequest req) createValue
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject jo) getRegex()
Methods inherited from class hudson.model.ParameterDefinition
all, copyWithDefaultValue, equals, getDescription, getDescriptor, getFormattedDescription, getName, getType, hashCode, isValid, setDescription
-
Constructor Details
-
ValidatingStringParameterDefinition
-
ValidatingStringParameterDefinition
-
-
Method Details
-
getDefaultValue
-
getRegex
-
getFailedValidationMessage
-
getRootUrl
-
getDefaultParameterValue
- Overrides:
getDefaultParameterValue
in classParameterDefinition
-
createValue
public ParameterValue createValue(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject jo) - Specified by:
createValue
in classParameterDefinition
-
createValue
- Specified by:
createValue
in classParameterDefinition
-
createValue
public ParameterValue createValue(CLICommand command, String value) throws IOException, InterruptedException - Overrides:
createValue
in classParameterDefinition
- Throws:
IOException
InterruptedException
-