Class AlertProviderConfiguration
- java.lang.Object
-
- com.scaleoutsoftware.digitaltwin.core.AlertProviderConfiguration
-
- All Implemented Interfaces:
java.io.Serializable
public class AlertProviderConfiguration extends java.lang.Object implements java.io.Serializable
Configuration for an alert provider.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlertProviderConfiguration(java.lang.String alertProviderType, java.lang.String url, java.lang.String integrationKey, java.lang.String routingKey, java.lang.String name, java.lang.String entityId)
Construct an alert provider configuration.
-
Method Summary
Modifier and Type Method Description java.lang.String
getAlertProviderType()
Retrieve the alert provider type for this configuration.java.lang.String
getEntityId()
Retrieve the entity ID for this alert provider configuration.java.lang.String
getIntegrationKey()
Retrieve the integration key for this alert provider configuration.java.lang.String
getName()
Retrieve the name of this alert provider configuration.java.lang.String
getRoutingKey()
Retrieve the routing key for this alert provider configuration.java.lang.String
getURL()
Retrieve the URL for this alert provider configuration.java.lang.String
toString()
-
-
-
Constructor Detail
-
AlertProviderConfiguration
public AlertProviderConfiguration(java.lang.String alertProviderType, java.lang.String url, java.lang.String integrationKey, java.lang.String routingKey, java.lang.String name, java.lang.String entityId)
Construct an alert provider configuration.- Parameters:
alertProviderType
- the alert provider type.url
- the alert provider URL where alerts should be posted.integrationKey
- the integration key.routingKey
- the routing key.name
- the name of the alert provider.entityId
- the entity Id.
-
-
Method Detail
-
getAlertProviderType
public java.lang.String getAlertProviderType()
Retrieve the alert provider type for this configuration.- Returns:
- the alert provider type.
-
getURL
public java.lang.String getURL()
Retrieve the URL for this alert provider configuration.- Returns:
- the URL for this alert provider configuration.
-
getIntegrationKey
public java.lang.String getIntegrationKey()
Retrieve the integration key for this alert provider configuration.- Returns:
- the integration key for this alert provider configuration.
-
getRoutingKey
public java.lang.String getRoutingKey()
Retrieve the routing key for this alert provider configuration.- Returns:
- the routing key for this alert provider configuration.
-
getName
public java.lang.String getName()
Retrieve the name of this alert provider configuration.- Returns:
- the name of this alert provider configuration.
-
getEntityId
public java.lang.String getEntityId()
Retrieve the entity ID for this alert provider configuration.- Returns:
- the entity ID for this alert provider configuration.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-