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