Package org.apache.camel.model
Class RouteTemplateParameterDefinition
- java.lang.Object
-
- org.apache.camel.model.RouteTemplateParameterDefinition
-
@Metadata(label="configuration") public class RouteTemplateParameterDefinition extends Object
A route template parameter
-
-
Constructor Summary
Constructors Constructor Description RouteTemplateParameterDefinition()
RouteTemplateParameterDefinition(String name, String defaultValue, String description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDefaultValue()
String
getDescription()
String
getName()
Boolean
getRequired()
boolean
isRequired()
void
setDefaultValue(String defaultValue)
Default value of the parameter.void
setDescription(String description)
Description of the parametervoid
setName(String name)
The name of the parametervoid
setRequired(Boolean required)
Whether the parameter is required or not.
-
-
-
Method Detail
-
isRequired
public boolean isRequired()
-
getName
public String getName()
-
setName
public void setName(String name)
The name of the parameter
-
getRequired
public Boolean getRequired()
-
setRequired
public void setRequired(Boolean required)
Whether the parameter is required or not. A parameter is required unless this option is set to false or a default value has been configured.
-
getDefaultValue
public String getDefaultValue()
-
setDefaultValue
public void setDefaultValue(String defaultValue)
Default value of the parameter. If a default value is provided then the parameter is implied not to be required.
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
Description of the parameter
-
-