Class VariationDefinition
java.lang.Object
com.flowable.template.api.repository.VariationDefinition
A variation describes a single variation used for a
TemplateDefinition having multiple variations (e.g. different languages).- Author:
- Micha Kiener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringReturns the default value for the key (used when no value is set or the specified variation does not exist)protected StringThe optional description for this variation, describing its meaning if needed.protected StringReturns the variation key which is later used when mapped to variation data coming from another source (e.g.protected StringThe name of the variation (e.g.static final StringThe value to be used for a missing variation value (e.g.static final StringThe deliminator used when composing a combined variation key. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()getName()voidsetDefaultValue(String defaultValue) voidsetDescription(String description) voidvoid
-
Field Details
-
NONE_VALUE
The value to be used for a missing variation value (e.g. 'none' instead of an empty language value or country value, etc).- See Also:
-
VARIATION_DELIMINATOR
The deliminator used when composing a combined variation key.- See Also:
-
name
The name of the variation (e.g. 'Language'). -
key
Returns the variation key which is later used when mapped to variation data coming from another source (e.g. from a process or case instance, etc). -
defaultValue
Returns the default value for the key (used when no value is set or the specified variation does not exist) -
description
The optional description for this variation, describing its meaning if needed.
-
-
Constructor Details
-
VariationDefinition
public VariationDefinition()
-
-
Method Details
-
getName
-
setName
-
getKey
-
setKey
-
getDefaultValue
-
setDefaultValue
-
getDescription
-
setDescription
-