Interface RuleParameterValueConverter

All Known Implementing Classes:
DefaultRuleParameterValueConverter

public interface RuleParameterValueConverter
Converter for primitive types and some other supported types.
  • Method Summary

    Modifier and Type
    Method
    Description
    fromString(String value, String type)
    Converts from String to the required type.
    Converts from the required type to String.
  • Method Details

    • toString

      String toString(Object value)
      Converts from the required type to String.
      Parameters:
      value - - the value to be converted to string
      Returns:
      the required type converted to String
    • fromString

      Object fromString(String value, String type)
      Converts from String to the required type.
      Parameters:
      value - - the string value to be converted
      Returns:
      the converted value from string to the required type