Class TemplateParameter
java.lang.Object
com.flowable.template.api.repository.TemplateParameter
A single parameter definition used to describe the necessary payload when rendering a
TemplateVariationDefinition
.- Author:
- Micha Kiener
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
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
Returnstrue
if this parameter is mandatory and would prevent the template from being rendered if missing.protected String
The optional name for this parameter (might be used as a label).protected String
Returns the type of the parameter (e.g. -
Constructor Summary
-
Method Summary
-
Field Details
-
name
The optional name for this parameter (might be used as a label). -
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. -
type
Returns the type of the parameter (e.g. string, long, date, etc). -
mandatory
protected boolean mandatoryReturnstrue
if this parameter is mandatory and would prevent the template from being rendered if missing.
-
-
Constructor Details
-
TemplateParameter
public TemplateParameter()
-
-
Method Details
-
getName
-
setName
-
getKey
-
setKey
-
getType
-
setType
-
isMandatory
public boolean isMandatory() -
setMandatory
public void setMandatory(boolean mandatory)
-