Class NotificationServiceProperties.MessageProperties

java.lang.Object
com.broadleafcommerce.notification.service.autoconfigure.NotificationServiceProperties.MessageProperties
Enclosing class:
NotificationServiceProperties

public static class NotificationServiceProperties.MessageProperties extends Object
  • Constructor Details

    • MessageProperties

      public MessageProperties()
  • Method Details

    • getVariablesByApplicationId

      Allows specifying variable values that should be used for a particular application ID. Keys should be application IDs. The properties are bound to CaseInsensitiveMap to ensure application ID is consistently recognized regardless of the case the property is provided in. For example, when provided from ENV, Spring will typically bind keys as all-lowercase (ex: 'abcd45e'), and when provided from yaml, the case may be different (ex: 'AbcD34E') - by using CaseInsensitiveMap, we ensure both map to the same ID key.
    • getVariablesByTenantId

      Allows specifying variable values that should be used for a particular tenant ID when in a tenant context or when application-specific values are unavailable. Keys should be tenant IDs. The properties are bound to CaseInsensitiveMap to ensure tenant ID is consistently recognized regardless of the case the property is provided in. For example, when provided from ENV, Spring will typically bind keys as all-lowercase (ex: 'abcd45e'), and when provided from yaml, the case may be different (ex: 'AbcD34E') - by using CaseInsensitiveMap, we ensure both map to the same ID key.
    • setVariablesByApplicationId

      public void setVariablesByApplicationId(Map<String,NotificationServiceProperties.MessageProperties.MessageVariables> variablesByApplicationId)
      Allows specifying variable values that should be used for a particular application ID. Keys should be application IDs. The properties are bound to CaseInsensitiveMap to ensure application ID is consistently recognized regardless of the case the property is provided in. For example, when provided from ENV, Spring will typically bind keys as all-lowercase (ex: 'abcd45e'), and when provided from yaml, the case may be different (ex: 'AbcD34E') - by using CaseInsensitiveMap, we ensure both map to the same ID key.
    • setVariablesByTenantId

      public void setVariablesByTenantId(Map<String,NotificationServiceProperties.MessageProperties.MessageVariables> variablesByTenantId)
      Allows specifying variable values that should be used for a particular tenant ID when in a tenant context or when application-specific values are unavailable. Keys should be tenant IDs. The properties are bound to CaseInsensitiveMap to ensure tenant ID is consistently recognized regardless of the case the property is provided in. For example, when provided from ENV, Spring will typically bind keys as all-lowercase (ex: 'abcd45e'), and when provided from yaml, the case may be different (ex: 'AbcD34E') - by using CaseInsensitiveMap, we ensure both map to the same ID key.
    • toString

      public String toString()
      Overrides:
      toString in class Object