Class NotificationsConfiguration


  • public class NotificationsConfiguration
    extends Object
    • Constructor Detail

      • NotificationsConfiguration

        public NotificationsConfiguration()
    • Method Detail

      • getEnabled

        public boolean getEnabled()
        Get whether notifications have been enabled.
        Returns:
        true if notifications are enabled; false otherwise
      • setEnabled

        public void setEnabled​(boolean enabled)
        Enable or disable notifications.
        Parameters:
        enabled - true if notifications are enabled; false otherwise
      • getTopicName

        public String getTopicName()
        Get the topic/queue name.
        Returns:
        the name of the topic/queue
      • setTopicName

        public void setTopicName​(String topic)
        Set the queue/topic name.
        Parameters:
        topic - the name of the topic/queue
      • getConnectionString

        public String getConnectionString()
        Get the connection string.
        Returns:
        the connection string
      • setConnectionString

        public void setConnectionString​(String connectionString)
        Set the connection string.
        Parameters:
        connectionString - the connection string
      • set

        public void set​(String name,
                        String value)
        An extension point for other configuration values.
        Parameters:
        name - the configuration name
        value - the configuration value
      • any

        public Map<String,​String> any()
        Get other properties.
        Returns:
        all other properties as a Map