|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.droids.queue.QueueLink
public class QueueLink
Simple implementation of a task that as well is an implementation of a task
Constructor Summary | |
---|---|
QueueLink(String uri,
String taskDate,
int depth)
Create a new instance of a QueueLink based on the input parameter. |
Method Summary | |
---|---|
int |
getDepth()
Which is the depth of the current task. |
String[] |
getFrom()
From where the link was created |
String |
getId()
The id of the task. |
String |
getLastModifiedDate()
last modified date |
String |
getTaskDate()
When did the task showed up the first time in the queue |
String[] |
getTo()
To where the link is pointing to |
void |
setDepth(int depth)
The limit of nested task extractions we want to allow |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueueLink(String uri, String taskDate, int depth)
uri
- the uri of that identifies the task uniquelytaskDate
- when the task first registered within the queuedepth
- the max depth we want to admit.Method Detail |
---|
public String[] getFrom()
Link
getFrom
in interface Link
public String getLastModifiedDate()
Link
getLastModifiedDate
in interface Link
public String[] getTo()
Link
getTo
in interface Link
public String getId()
Task
getId
in interface Task
public String getTaskDate()
Task
getTaskDate
in interface Task
public int getDepth()
Task
getDepth
in interface Task
public void setDepth(int depth)
Task
setDepth
in interface Task
depth
- limit of nested task extractions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |