Class TemplateParameter

java.lang.Object
com.flowable.template.api.repository.TemplateParameter

public class TemplateParameter extends Object
A single parameter definition used to describe the necessary payload when rendering a TemplateVariationDefinition.
Author:
Micha Kiener
  • Field Details

    • name

      protected String name
      The optional name for this parameter (might be used as a label).
    • key

      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.
    • type

      protected String type
      Returns the type of the parameter (e.g. string, long, date, etc).
    • mandatory

      protected boolean mandatory
      Returns true if this parameter is mandatory and would prevent the template from being rendered if missing.
  • Constructor Details

    • TemplateParameter

      public TemplateParameter()
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getKey

      public String getKey()
    • setKey

      public void setKey(String key)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • isMandatory

      public boolean isMandatory()
    • setMandatory

      public void setMandatory(boolean mandatory)