|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BeanListener
Interface allowing caller to install a listener so that it can be informed as the bean makes progress through the links to be called.
| Method Summary | |
|---|---|
void |
brokenLinkFound(String uri,
String parentURI,
String message,
Throwable t)
Report a broken link |
void |
complete()
Signals completion of the generation process. |
void |
messageGenerated(String msg)
Report a general message about operation of the bean |
void |
pageGenerated(String sourceURI,
String destinationURI,
int pageSize,
int linksInPage,
int newLinksinPage,
int pagesRemaining,
int pagesComplete,
long timeTaken)
Report a page as successfully generated |
void |
pageSkipped(String uri,
String message)
Report a that was skipped because its URI matched an include/exclude pattern. |
void |
warningGenerated(String uri,
String warning)
Report a warning about something non-fatal that happened within the bean. |
| Method Detail |
|---|
void pageGenerated(String sourceURI,
String destinationURI,
int pageSize,
int linksInPage,
int newLinksinPage,
int pagesRemaining,
int pagesComplete,
long timeTaken)
sourceURI - destinationURI - pageSize - linksInPage - Number of links found in this pagenewLinksinPage - pagesRemaining - Number of pages still to be generatedpagesComplete - timeTaken -
void pageSkipped(String uri,
String message)
uri - message - void messageGenerated(String msg)
msg - The message to be reported
void warningGenerated(String uri,
String warning)
uri - The page being generated when warning was triggeredwarning - The warning to be reported
void brokenLinkFound(String uri,
String parentURI,
String message,
Throwable t)
uri - The URI that failed to be generatedmessage - A reason why the link was not generatedvoid complete()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||