org.apache.camel.impl
Class ParameterConfiguration

java.lang.Object
  extended by org.apache.camel.impl.ParameterConfiguration
Direct Known Subclasses:
AnnotatedParameterConfiguration

public class ParameterConfiguration
extends Object

Represents the configuration of a URI query parameter value to allow type conversion and better validation of the configuration of URIs and Endpoints


Constructor Summary
ParameterConfiguration(String name, Class<?> parameterType)
           
 
Method Summary
 String getName()
          Returns the name of the parameter value
 Class<?> getParameterType()
          Returns the type of the parameter value
static ParameterConfiguration newInstance(String name, Field field, org.apache.camel.spi.UriParam uriParam)
          Factory method to create a new ParameterConfiguration from a field
 String toJson()
          Returns the JSON format of this parameter configuration
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParameterConfiguration

public ParameterConfiguration(String name,
                              Class<?> parameterType)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getName

public String getName()
Returns the name of the parameter value


getParameterType

public Class<?> getParameterType()
Returns the type of the parameter value


newInstance

public static ParameterConfiguration newInstance(String name,
                                                 Field field,
                                                 org.apache.camel.spi.UriParam uriParam)
Factory method to create a new ParameterConfiguration from a field


toJson

public String toJson()
Returns the JSON format of this parameter configuration



Apache Camel