Examples of AlertEmailRecipientGroup


Examples of org.eurekaj.alert.email.datatypes.AlertEmailRecipientGroup

    }
    log.debug("Status of alert plugin. Configured: " + configured + " statusMessage: " + statusMessage);
   
    log.debug("Scheduling alert: "+ alert.getAlertName() + " with status: " + alert.getStatus());
   
    AlertEmailRecipientGroup emailRecipientGroup = new AlertEmailRecipientGroup();
    emailRecipientGroup.setAccountName(alert.getAccountName());
    emailRecipientGroup.setEmailRecipientList(recipientList);
    emailRecipientGroup.setPort(port);
    emailRecipientGroup.setSmtpPassword(smtpPassword);
    emailRecipientGroup.setSmtpUsername(smtpUsername);
    emailRecipientGroup.setSmtpServerhost(smtpServerhost);
    emailRecipientGroup.setUseSSL(useSSL);
   
    SendAlertEmailTask sendAlertEmailTask = new SendAlertEmailTask(emailRecipientGroup, alert, oldStatus, currValue, timeString);
    threadPool.schedule(sendAlertEmailTask, 0, TimeUnit.MILLISECONDS);
  }
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.