public class NotificationsConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
NotificationsConfiguration.Type |
| Constructor and Description |
|---|
NotificationsConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
any()
Get other properties.
|
String |
getConnectionString()
Get the connection string.
|
boolean |
getEnabled()
Get whether notifications have been enabled.
|
String |
getTopicName()
Get the topic/queue name.
|
NotificationsConfiguration.Type |
getType()
Get the notification component type.
|
void |
set(String name,
String value)
An extension point for other configuration values.
|
void |
setConnectionString(String connectionString)
Set the connection string.
|
void |
setEnabled(boolean enabled)
Enable or disable notifications.
|
void |
setTopicName(String topic)
Set the queue/topic name.
|
void |
setType(NotificationsConfiguration.Type type)
Set the notification component type.
|
public boolean getEnabled()
public void setEnabled(boolean enabled)
enabled - true if notifications are enabled; false otherwisepublic String getTopicName()
public void setTopicName(String topic)
topic - the name of the topic/queuepublic NotificationsConfiguration.Type getType()
public void setType(NotificationsConfiguration.Type type)
type - the component typepublic String getConnectionString()
public void setConnectionString(String connectionString)
connectionString - the connection stringpublic void set(String name, String value)
name - the configuration namevalue - the configuration value