hudson.model
Class TextParameterDefinition

java.lang.Object
  extended by hudson.model.ParameterDefinition
      extended by hudson.model.SimpleParameterDefinition
          extended by hudson.model.StringParameterDefinition
              extended by hudson.model.TextParameterDefinition
All Implemented Interfaces:
ExtensionPoint, Describable<ParameterDefinition>, Serializable

public class TextParameterDefinition
extends StringParameterDefinition

StringParameterDefinition that uses textarea, instead of text box.

See Also:
Serialized Form

Nested Class Summary
static class TextParameterDefinition.DescriptorImpl
           
 
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
TextParameterDefinition(String name, String defaultValue, String description)
           
 
Method Summary
 ParameterValue createValue(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject jo)
          Create a parameter value from a form submission.
 ParameterValue createValue(String value)
          Creates a ParameterValue from the string representation.
 
Methods inherited from class hudson.model.StringParameterDefinition
copyWithDefaultValue, getDefaultParameterValue, getDefaultValue, setDefaultValue
 
Methods inherited from class hudson.model.SimpleParameterDefinition
createValue, createValue
 
Methods inherited from class hudson.model.ParameterDefinition
all, getDescription, getDescriptor, getName, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextParameterDefinition

@DataBoundConstructor
public TextParameterDefinition(String name,
                                                    String defaultValue,
                                                    String description)
Method Detail

createValue

public ParameterValue createValue(org.kohsuke.stapler.StaplerRequest req,
                                  net.sf.json.JSONObject jo)
Description copied from class: ParameterDefinition
Create 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:
createValue in class StringParameterDefinition

createValue

public ParameterValue createValue(String value)
Description copied from class: SimpleParameterDefinition
Creates a ParameterValue from the string representation.

Overrides:
createValue in class StringParameterDefinition


Copyright © 2004-2013. All Rights Reserved.