scone.robot
Interface RobotUser

All Known Implementing Classes:
RobotTestPlugin, RueckspiegelPlugin

public interface RobotUser

All classes, which want to use the robot, must implement this interface

Author:
Frank Wollenweber

Method Summary
 void robotNewPage(RobotHtmlNode robotHtmlNode, RobotTask robotTask)
          This method is called for every processed htmlNode
 void robotTaskFinished(RobotTask robotTask)
          This method is called, if the task was completely finished
 

Method Detail

robotNewPage

void robotNewPage(RobotHtmlNode robotHtmlNode,
                  RobotTask robotTask)
This method is called for every processed htmlNode

Parameters:
robotHtmlNode - the new htmlNode with some properties set by the robot
robotTask - identifies the task which causes the robot to download robotHtmlNode. RobotUser can start many task simultaneously.

robotTaskFinished

void robotTaskFinished(RobotTask robotTask)
This method is called, if the task was completely finished

Parameters:
robotTask - the robot finished this task