Interface IValueConverter
- All Known Implementing Classes:
ListToSingleValueConverter
,ValueTypeConverter
public interface IValueConverter
Interface for classes that convert the result of an inference rule to the requested type.
- Since:
- 6.1
- Author:
- O. Kerpershoek
-
Method Summary
Modifier and TypeMethodDescriptionconvert
(SourcedValue originalValue) This method performs the actual conversion and returns the result in the corrects type.
-
Method Details
-
convert
This method performs the actual conversion and returns the result in the corrects type.- Parameters:
originalValue
- The value that should be converted.- Returns:
- The converted value of the correct type (never null).
- Throws:
RuleEngineException
- This exception is thrown when the value could not be converted.
-