Package com.aquima.interactions.rule
Interface IDynamicText
- All Known Implementing Classes:
DynamicText
public interface IDynamicText
Interface for dynamic text objects. A dynamic text object (also called TSL) can be expanded in a context, at which
point the text will be generated and conditions and values inside the text will be evaluated using the given context.
- Since:
- 5.0
- Author:
- O. Kerpershoek
-
Method Summary
Modifier and TypeMethodDescriptionexpand
(InferenceContext context) This method will expand the dynamic text using the specified context for all the languages.
-
Method Details
-
expand
This method will expand the dynamic text using the specified context for all the languages.- Parameters:
context
- The context that should be used to evaluate conditions and expressions in the text.- Returns:
- A multilingual object containing expanded texts for all the languages.
- Throws:
RuleEngineException
- This exception is thrown when the text could not be evaluated.
-