Class DefaultSmsNotificationStrategyImpl

java.lang.Object
com.skava.strategyimpl.DefaultSmsNotificationStrategyImpl
All Implemented Interfaces:
NotifyStrategy

@Service public class DefaultSmsNotificationStrategyImpl extends Object implements NotifyStrategy
The Class DefaultSmsNotificationStrategyImpl - This helper class enables the application to send sms via SendGrid.
Author:
Infosys Equinox
  • 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 interface NotifyStrategy
      Parameters:
      notificationInfo - the notificationInfo
      collectionProperty - the collection poperties
      action - the action
      messageSource - the messageSource
      Throws:
      IOException - Signals that an I/O exception has occurred.