Examples of AlertRecipient


Examples of org.eurekaj.api.datatypes.AlertRecipient

            if (oldStatus != newStatus && statList.size() >= 1) {
                        //Status have changed, store new triggeredAlert and send email
              logger.info("Alert status changed: " + newStatus.getStatusName() + " num plugins: " + alert.getSelectedEmailSenderList().size());
 
              for (String alertPluginId : alert.getSelectedEmailSenderList()) {
                AlertRecipient alertRecipient = dbPlugin.getAlertRecipientDao().getAlertRecipient(alert.getAccountName(), alertPluginId);
                List<String> recipients = new ArrayList<>();
                for (String idObject : alertRecipient.getRecipients()) {
                  recipients.add(idObject);
                }
               
                logger.info("Sending alert through plugin: " + alertPluginId);
               
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.