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
Modifier and TypeFieldDescriptionprotected String
Returns the default value for the key (used when no value is set or the specified variation does not exist)protected String
The optional description for this variation, describing its meaning if needed.protected String
Returns the variation key which is later used when mapped to variation data coming from another source (e.g.protected String
The name of the variation (e.g.static final String
The value to be used for a missing variation value (e.g.static final String
The deliminator used when composing a combined variation key. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()
getName()
void
setDefaultValue
(String defaultValue) void
setDescription
(String description) void
void
-
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
-