public class EmailNorthbounderConfig extends Object implements Serializable
Constructor and Description |
---|
EmailNorthbounderConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addEmailDestination(EmailDestination emailDestination)
Adds a specific email destination.
|
Integer |
getBatchSize()
Gets the batch size.
|
EmailDestination |
getEmailDestination(String destinationName)
Gets a specific Email destination.
|
List<EmailDestination> |
getEmailDestinations()
Gets the Email destinations.
|
Integer |
getNaglesDelay()
Gets the nagles delay.
|
Integer |
getQueueSize()
Gets the queue size.
|
List<String> |
getUeis()
Gets the UEIs.
|
Boolean |
isEnabled()
Checks if is enabled.
|
boolean |
removeEmailDestination(String destinationName)
Removes a specific email destination.
|
void |
setBatchSize(Integer batchSize)
Sets the batch size.
|
void |
setDestinations(List<EmailDestination> destinations)
Sets the Email destinations.
|
void |
setEnabled(Boolean enabled)
Sets the enabled.
|
void |
setNaglesDelay(Integer naglesDelay)
Sets the nagles delay.
|
void |
setQueueSize(Integer alarmQueueSize)
Sets the queue size.
|
void |
setUeis(List<String> ueis)
Sets the UEIs.
|
public List<EmailDestination> getEmailDestinations()
public void setDestinations(List<EmailDestination> destinations)
destinations
- the new Email destinationspublic Integer getNaglesDelay()
public void setNaglesDelay(Integer naglesDelay)
naglesDelay
- the new nagles delaypublic Integer getBatchSize()
public void setBatchSize(Integer batchSize)
batchSize
- the new batch sizepublic Integer getQueueSize()
public void setQueueSize(Integer alarmQueueSize)
alarmQueueSize
- the new queue sizepublic Boolean isEnabled()
public void setEnabled(Boolean enabled)
enabled
- the new enabledpublic EmailDestination getEmailDestination(String destinationName)
destinationName
- the Email destination namepublic void addEmailDestination(EmailDestination emailDestination)
If there is a destination with the same name, the existing one will be overridden.
emailDestination
- the Email destination objectpublic boolean removeEmailDestination(String destinationName)
destinationName
- the destination nameCopyright © 2017. All rights reserved.