Package org.eurekaj.alert.email.datatypes

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

Related Classes of org.eurekaj.alert.email.datatypes.AlertEmailRecipientGroup

Copyright © 2018 www.massapicom. 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.