Class ValueTypeConverter
java.lang.Object
com.aquima.interactions.rule.graph.ValueTypeConverter
- All Implemented Interfaces:
IValueConverter
This value converter converts the result of a rule to the requested type. The conversion might fail at runtime with a
RuleEngineexception.
- Since:
- 6.1
- Author:
- O. Kerpershoek
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert
(SourcedValue sourcedValue) This method performs the actual conversion and returns the result in the corrects type.
-
Constructor Details
-
ValueTypeConverter
-
-
Method Details
-
convert
Description copied from interface:IValueConverter
This method performs the actual conversion and returns the result in the corrects type.- Specified by:
convert
in interfaceIValueConverter
- Parameters:
sourcedValue
- The value that should be converted.- Returns:
- The converted value of the correct type (never null).
-