Class ProductConfigMessageRuleParameterValueMapper

  • All Implemented Interfaces:
    RuleParameterValueMapper<java.util.Map<java.util.Locale,​java.lang.String>>

    public class ProductConfigMessageRuleParameterValueMapper
    extends java.lang.Object
    implements RuleParameterValueMapper<java.util.Map<java.util.Locale,​java.lang.String>>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.util.Locale,​java.lang.String> fromString​(java.lang.String value)
      Maps the String representation to the specific object.
      protected com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()  
      java.lang.String toString​(java.util.Map<java.util.Locale,​java.lang.String> messageMap)
      Maps the object to its String representation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProductConfigMessageRuleParameterValueMapper

        public ProductConfigMessageRuleParameterValueMapper()
    • Method Detail

      • toString

        public java.lang.String toString​(java.util.Map<java.util.Locale,​java.lang.String> messageMap)
        Description copied from interface: RuleParameterValueMapper
        Maps the object to its String representation.
        Specified by:
        toString in interface RuleParameterValueMapper<java.util.Map<java.util.Locale,​java.lang.String>>
        Parameters:
        messageMap - - object to map
        Returns:
        String representation
      • fromString

        public java.util.Map<java.util.Locale,​java.lang.String> fromString​(java.lang.String value)
        Description copied from interface: RuleParameterValueMapper
        Maps the String representation to the specific object.
        Specified by:
        fromString in interface RuleParameterValueMapper<java.util.Map<java.util.Locale,​java.lang.String>>
        Parameters:
        value - - String representation
        Returns:
        mapped object
      • getObjectMapper

        protected com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()