com.appperfect.devcommon.script
Interface INotificationHandler

All Known Subinterfaces:
IScriptEngine

public interface INotificationHandler

INotificationHandler is created to send email notification on test complete


Method Summary
 java.lang.String sendEmailNotificaion(java.lang.String message)
 To send email notification with specified message.
 java.lang.String sendEmailNotificaion(java.lang.String message, java.lang.String[] receipients)
 To send email notification to specified receipients with specified message.
 java.lang.String sendEmailNotificaion(java.lang.String message, java.lang.String[] receipients, java.lang.String[] attachments)
 To send email notification to specified receipients with specified message and attachments.
 

Method Detail

sendEmailNotificaion

java.lang.String sendEmailNotificaion(java.lang.String message)
To send email notification with specified message.

Parameters:
message - message to send
Returns:
if successful then empty string is returned else error message is returned

sendEmailNotificaion

java.lang.String sendEmailNotificaion(java.lang.String message,
                                      java.lang.String[] receipients)
To send email notification to specified receipients with specified message.

Parameters:
message - message to send
receipients - array containing list of receipients to which message should be sent
Returns:
if successful then empty string is returned else error message is returned

sendEmailNotificaion

java.lang.String sendEmailNotificaion(java.lang.String message,
                                      java.lang.String[] receipients,
                                      java.lang.String[] attachments)
To send email notification to specified receipients with specified message and attachments.

Parameters:
message - message to send
receipients - array containing list of receipients to which message should be sent
attachments - array containing list of attachements to be sent along with mail
Returns:
if successful then empty string is returned else error message is returned


Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.