hudson.plugins.random_string_parameter
Class RandomStringParameterDefinition
java.lang.Object
hudson.model.ParameterDefinition
hudson.plugins.random_string_parameter.RandomStringParameterDefinition
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.model.ParameterDefinition>, Serializable
public class RandomStringParameterDefinition
- extends hudson.model.ParameterDefinition
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:
- Piotr Skotnicki
- See Also:
ParameterDefinition}
,
Serialized Form
Nested classes/interfaces inherited from class hudson.model.ParameterDefinition |
hudson.model.ParameterDefinition.ParameterDescriptor |
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Fields inherited from class hudson.model.ParameterDefinition |
LIST |
Methods inherited from class hudson.model.ParameterDefinition |
all, copyWithDefaultValue, createValue, getDescription, getDescriptor, getName, getType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomStringParameterDefinition
@DataBoundConstructor
public RandomStringParameterDefinition(String name,
String failedValidationMessage,
String description)
RandomStringParameterDefinition
public RandomStringParameterDefinition(String name,
String failedValidationMessage)
getFailedValidationMessage
public String getFailedValidationMessage()
getDefaultValue
public String getDefaultValue()
getRootUrl
public String getRootUrl()
createRandomString
public String createRandomString()
getDefaultParameterValue
public RandomStringParameterValue getDefaultParameterValue()
- Overrides:
getDefaultParameterValue
in class hudson.model.ParameterDefinition
createValue
public hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject jo)
- Specified by:
createValue
in class hudson.model.ParameterDefinition
createValue
public hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest req)
- Specified by:
createValue
in class hudson.model.ParameterDefinition
Copyright © 2004-2012. All Rights Reserved.