Interface INotificationConfig
- All Known Implementing Classes:
AgentNotificationConfig,BillingAccountBasedSMSNotificationConfig,BroadcastNotificationConfig,EmailNotificationConfig,GuichetNotificationConfig,SMSNotificationConfig
public interface INotificationConfig
This interface represents a configuration for a notification
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds this notification configurationgetName()Gives the name of the notification configurationfr.paris.lutece.plugins.grubusiness.business.notification.EnumNotificationTypeget notification typeGives the validator for this notification configurationbooleanisActive()Tests if this notification configuration is active or notvoidRemoves this notification configurationvoidsetActive(boolean bActive) Activates or deactivates this notification configuration depending to the specified boolean
-
Method Details
-
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 -
getNotificationType
fr.paris.lutece.plugins.grubusiness.business.notification.EnumNotificationType getNotificationType()get notification type- Returns:
-