de.rw7.htmltools
Interface LinkFrontend
- All Known Implementing Classes:
- LinkResult, LinkSwing, LinkVerify, SpiderTest
- public interface LinkFrontend
| Method Summary |
void |
onAbsent(LinkTag tag)
Notifies the frontend that an url is found to be broken. |
void |
onEnd()
Notifies the frontend, that the spider has terminated itself normally. |
void |
onLookup(LinkTag tag, int thread)
Notifies the frontend whenever a url is getting checked. |
void |
onTarget(LinkTarget target)
Notifies the frontend, that a target frame name changed it's state. |
void |
onWaiting(int thread)
Notifies the Frontend, that a spider thread is waiting because lack of work. |
onLookup
public void onLookup(LinkTag tag,
int thread)
- Notifies the frontend whenever a url is getting checked.
-
- Parameters:
tag - the url getting checked.
thread - the thread which processes this url.
onWaiting
public void onWaiting(int thread)
- Notifies the Frontend, that a spider thread is waiting because lack of work.
-
- Parameters:
thread - the thread waiting.
onEnd
public void onEnd()
- Notifies the frontend, that the spider has terminated itself normally. Not called, when the spider is aborted via stop.
-
- See Also:
LinkSpider.stop()
onAbsent
public void onAbsent(LinkTag tag)
- Notifies the frontend that an url is found to be broken.
-
- Parameters:
tag - the invalid url
onTarget
public void onTarget(LinkTarget target)
- Notifies the frontend, that a target frame name changed it's state.
-
- Parameters:
target - the target changed