|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IAlertNotificationCleanup
Defines when to delete alert notifications from the system. You can configure the system to delete alert notifications after a certain length of time or when the system contains the maximum number of alert notifications.
| Field Summary | |
|---|---|
static int |
NOT_APPLICABLE
Defines that there is no value. |
| Method Summary | |
|---|---|
int |
getExpiryPeriod()
Returns the number of days that an alert notification is stored in the system before it is deleted. |
int |
getMaximumNotificationCount()
Returns the maximum number of alert notifications that may be stored in the system. |
void |
setExpiryPeriod(int expiryPeriodInDays)
Sets the number of days that an alert notification is stored in the system before it is deleted. |
void |
setMaximumNotificationCount(int maxNotifications)
Sets the maximum number of alert notifications that may be stored in the system. |
| Field Detail |
|---|
static final int NOT_APPLICABLE
| Method Detail |
|---|
int getExpiryPeriod()
IAlertNotificationCleanup.NOT_APPLICABLE if no expiry period is set.IAlertNotificationCleanup.setExpiryPeriod(int)void setExpiryPeriod(int expiryPeriodInDays)
expiryPeriodInDays - An int that represents the expiry period in days.IAlertNotificationCleanup.getExpiryPeriod()int getMaximumNotificationCount()
IAlertNotificationCleanup.NOT_APPLICABLE if there is no limit.IAlertNotificationCleanup.setMaximumNotificationCount(int)void setMaximumNotificationCount(int maxNotifications)
maxNotifications - An int that represents the maximum number of alert notifications to store in the system.IAlertNotificationCleanup.getMaximumNotificationCount()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||