Class MessagePropertyHelper


  • public final class MessagePropertyHelper
    extends Object
    Helper class for message properties.
    Since:
    8.4.0
    Author:
    XIMA MEDIA GmbH
    • Constructor Detail

      • MessagePropertyHelper

        public MessagePropertyHelper()
    • Method Detail

      • setDefaultsIfNotPresent

        public static void setDefaultsIfNotPresent​(Map<String,​String> messages,
                                                   Map<String,​MessagePropertyMetadata> properties)
        Set the default values of the properties if they are not present in the messages.
        Parameters:
        messages - The messages to set the default values for.
        properties - The properties to get the default values from.