Package hudson.model
Class TextParameterDefinition
java.lang.Object
hudson.model.ParameterDefinition
hudson.model.SimpleParameterDefinition
hudson.model.StringParameterDefinition
hudson.model.TextParameterDefinition
- All Implemented Interfaces:
ExtensionPoint,Describable<ParameterDefinition>,Serializable
StringParameterDefinition that uses textarea, instead of text box.- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.model.ParameterDefinition
ParameterDefinition.ParameterDescriptorNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.ParameterDefinition
LIST -
Constructor Summary
ConstructorsConstructorDescriptionTextParameterDefinition(String name, String defaultValue, String description) -
Method Summary
Modifier and TypeMethodDescriptioncreateValue(String value) Creates aParameterValuefrom the string representation.createValue(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject jo) Create a parameter value from a form submission.booleanReturns default parameter value for this definition.inthashCode()Methods inherited from class hudson.model.StringParameterDefinition
copyWithDefaultValue, getDefaultValue, getDefaultValue4Build, isTrim, setDefaultValue, setTrimMethods inherited from class hudson.model.SimpleParameterDefinition
createValue, createValueMethods inherited from class hudson.model.ParameterDefinition
all, createValue, createValue, getDescription, getDescriptor, getFormattedDescription, getName, getType, isValid, setDescription
-
Constructor Details
-
TextParameterDefinition
- Since:
- 2.281
-
TextParameterDefinition
-
-
Method Details
-
getDefaultParameterValue
Description copied from class:ParameterDefinitionReturns default parameter value for this definition.- Overrides:
getDefaultParameterValuein classStringParameterDefinition- Returns:
- default parameter value or null if no defaults are available
-
createValue
public ParameterValue createValue(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject jo) Description copied from class:ParameterDefinitionCreate a parameter value from a form submission.This method is invoked when the user fills in the parameter values in the HTML form and submits it to the server.
- Overrides:
createValuein classStringParameterDefinition
-
createValue
Description copied from class:SimpleParameterDefinitionCreates aParameterValuefrom the string representation.- Overrides:
createValuein classStringParameterDefinition
-
hashCode
public int hashCode()- Overrides:
hashCodein classStringParameterDefinition
-
equals
- Overrides:
equalsin classStringParameterDefinition
-