org.archive.crawler.framework
Interface AlertManager
public interface AlertManager
Manager for application alerts.
An alert is a message to a human operator created by Heritrix when
exceptional conditions.
- Version:
- $Date: 2006-09-25 23:59:43 +0000 (Mon, 25 Sep 2006) $ $Revision: 4664 $
- Author:
- stack
add
void add(SinkHandlerLogRecord record)
- Parameters:
record
- The new alert to add.
remove
void remove(java.lang.String alertID)
- Parameters:
alertID
- the ID of the alert to remove.
get
SinkHandlerLogRecord get(java.lang.String alertID)
- Parameters:
alertID
- The ID of the alert to return.
- Returns:
- an alert with the given ID or null if none found.
getAll
java.util.Vector getAll()
- Returns:
- All current alerts
getNewAll
java.util.Vector getNewAll()
- Returns:
- Vector of all new alerts.
getCount
int getCount()
- Returns:
- The number of alerts
getNewCount
int getNewCount()
- Returns:
- The number of new alerts
read
void read(java.lang.String alertID)
- Parameters:
alertID
- of the ID of the alert to mark as 'seen'.
Copyright © 2003-2011 Internet Archive. All Rights Reserved.