Package com.skava.strategyimpl
Class DefaultSmsNotificationStrategyImpl
java.lang.Object
com.skava.strategyimpl.DefaultSmsNotificationStrategyImpl
- All Implemented Interfaces:
NotifyStrategy
The Class DefaultSmsNotificationStrategyImpl -
This helper class enables the application to send sms via SendGrid.
- Author:
- Infosys Equinox
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultSmsNotificationStrategyImpl
(org.springframework.web.client.RestTemplate restTemplateComponent) -
Method Summary
Modifier and TypeMethodDescriptionvoid
notify
(Notification notificationInfo, CollectionPropertyEntity collectionProperty, ActionEntity action, org.springframework.context.MessageSource messageSource) Send grid mail.
-
Constructor Details
-
DefaultSmsNotificationStrategyImpl
public DefaultSmsNotificationStrategyImpl(org.springframework.web.client.RestTemplate restTemplateComponent)
-
-
Method Details
-
notify
public void notify(Notification notificationInfo, CollectionPropertyEntity collectionProperty, ActionEntity action, org.springframework.context.MessageSource messageSource) throws IOException Send grid mail.- Specified by:
notify
in interfaceNotifyStrategy
- Parameters:
notificationInfo
- the notificationInfocollectionProperty
- the collection popertiesaction
- the actionmessageSource
- the messageSource- Throws:
IOException
- Signals that an I/O exception has occurred.
-