public class TemplateParameter extends Object
TemplateVariationDefinition
.Modifier and Type | Field and Description |
---|---|
protected String |
key
The key of this parameter which is used to later lookup the parameter value within the payload and might also be used within the template
as a placeholder.
|
protected boolean |
mandatory
Returns
true if this parameter is mandatory and would prevent the template from being rendered if missing. |
protected String |
name
The optional name for this parameter (might be used as a label).
|
protected String |
type
Returns the type of the parameter (e.g.
|
Constructor and Description |
---|
TemplateParameter() |
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
String |
getName() |
String |
getType() |
boolean |
isMandatory() |
void |
setKey(String key) |
void |
setMandatory(boolean mandatory) |
void |
setName(String name) |
void |
setType(String type) |
protected String name
protected String key
protected String type
protected boolean mandatory
true
if this parameter is mandatory and would prevent the template from being rendered if missing.public String getName()
public void setName(String name)
public String getKey()
public void setKey(String key)
public String getType()
public void setType(String type)
public boolean isMandatory()
public void setMandatory(boolean mandatory)