|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IReportAlerts
This collection contains the list of alerts defined in a given report. You can set the
configuration options for each alert, and then send these alerts to an SMTP server. Use the
IReportAlerts.setBody(String) method to include a message that will be shown in the alert notification
email before all of the alert messages.
Information about report alert destinations can be found using the ISchedulingInfo
getAlertDestination
method. This method returns the IDestination
object that contains the report alert destination. To disable alert notification for a report, set the
IDestination method
setName
to an empty String.
Note: This collection can be accessed through the IReportProcessingInfo.getReportAlerts()
method of the IReportProcessingInfo interface.
| Method Summary | |
|---|---|
java.lang.String |
getBody()
Returns the message text that is prepended to the notification email. |
void |
setBody(java.lang.String Body)
Sets the message text that is prepended to the alert notification email. |
| Methods inherited from interface java.util.List |
|---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
| Method Detail |
|---|
java.lang.String getBody()
throws SDKException
Returns the message text that is prepended to the notification email. The maximum number of characters that you can include in the message text may be constrained by limits that have been put on your SMTP server.
Use the ISchedulingInfo interface's AlertDestination method to set the notification email. This email will contain all of the triggered alerts in a given report.
String containing the message text that is prepended to the alert
notification email.
SDKException - This is thrown if the process is unsuccessful.void setBody(java.lang.String Body)
Sets the message text that is prepended to the alert notification email. The maximum number of characters that you can include in the message text may be constrained by limits that have been put on your SMTP server.
Use the ISchedulingInfo interface's AlertDestination method to set the alert notification email. This email will contain all of the triggered alerts in a given report.
To insert a viewer hyperlink into the message body, add %SI_VIEWER_URL% to the string.
See setEmbeddedLinkURL
for more information.
Body - A String containing the message text that is prepended to the alert
notification email.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||