public class SpiderEventPublisher extends ScanEventPublisher
SCAN_COMPLETED_EVENT, SCAN_ID, SCAN_PAUSED_EVENT, SCAN_PROGRESS, SCAN_PROGRESS_EVENT, SCAN_RESUMED_EVENT, SCAN_STARTED_EVENT, SCAN_STOPPED_EVENT, USER_ID, USER_NAME
Constructor and Description |
---|
SpiderEventPublisher() |
Modifier and Type | Method and Description |
---|---|
static SpiderEventPublisher |
getPublisher() |
String |
getPublisherName()
The name by which the publisher is know - typically the full class name of the publisher.
|
static void |
publishScanEvent(String event,
int scanId) |
static void |
publishScanEvent(String event,
int scanId,
Target target,
User user) |
static void |
publishScanProgressEvent(int scanId,
int scanProgress) |
getEvents, publishScanEvent, publishScanEvent, publishScanProgressEvent
public String getPublisherName()
EventPublisher
getPublisherName
in interface EventPublisher
getPublisherName
in class ScanEventPublisher
null
.public static SpiderEventPublisher getPublisher()
public static void publishScanEvent(String event, int scanId)
public static void publishScanEvent(String event, int scanId, Target target, User user)
public static void publishScanProgressEvent(int scanId, int scanProgress)