Interface INotificationConfig
-
- All Known Implementing Classes:
AgentNotificationConfig,BillingAccountBasedSMSNotificationConfig,BroadcastNotificationConfig,EmailNotificationConfig,GuichetNotificationConfig,SMSNotificationConfig
public interface INotificationConfigThis interface represents a configuration for a notification
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddConfig()Adds this notification configurationStringgetName()Gives the name of the notification configurationAbstractNotificationConfigValidatorgetValidator()Gives the validator for this notification configurationbooleanisActive()Tests if this notification configuration is active or notvoidremoveConfig()Removes this notification configurationvoidsetActive(boolean bActive)Activates or deactivates this notification configuration depending to the specified boolean
-
-
-
Method Detail
-
getName
String getName()
Gives the name of the notification configuration- Returns:
- the name
-
isActive
boolean isActive()
Tests if this notification configuration is active or not- Returns:
trueif the notification configuration is active,falseotherwise
-
setActive
void setActive(boolean bActive)
Activates or deactivates this notification configuration depending to the specified boolean- Parameters:
bActive-trueif this notification configuration must be activated,falseif it must be deactivated
-
getValidator
AbstractNotificationConfigValidator getValidator()
Gives the validator for this notification configuration- Returns:
- the validator
-
addConfig
void addConfig()
Adds this notification configuration
-
removeConfig
void removeConfig()
Removes this notification configuration
-
-