|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectscone.robot.QueueEntry
public class QueueEntry
This class represents entries of the urlQueue
Constructor Summary | |
---|---|
QueueEntry(SimpleUri uri,
int depth,
RobotTask robotTask)
Constructor |
Method Summary | |
---|---|
int |
getDepth()
Get the depth of the queueEntry |
RobotTask |
getRobotTask()
Get the robotTask this queueEntry belongs to |
SimpleUri |
getURI()
Get the url of this queueEntry |
void |
setDepth(int depth)
Set the depth of the queueEntry |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueueEntry(SimpleUri uri, int depth, RobotTask robotTask)
url
- download this urldepth
- scan this subgraph of the web with this depthrobotTask
- the robotTask this queueEntry belongs toMethod Detail |
---|
public SimpleUri getURI()
public int getDepth()
public void setDepth(int depth)
depth
- the subtree of the web should be downloaded with this depthpublic RobotTask getRobotTask()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |