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
FieldsModifier and TypeFieldDescriptionprotected StringThe 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 booleanReturnstrueif this parameter is mandatory and would prevent the template from being rendered if missing.protected StringThe optional name for this parameter (might be used as a label).protected StringReturns the type of the parameter (e.g. -
Constructor Summary
Constructors -
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 mandatoryReturnstrueif 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)
-