|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.util.orm.DataObject
org.encog.bot.spider.WorkloadItem
public class WorkloadItem
This is a Hibernate persisted class that holds the workload for the spider. This becomes a table in the database that holds the spider's workload.
| Constructor Summary | |
|---|---|
WorkloadItem()
|
|
| Method Summary | |
|---|---|
int |
getDepth()
|
java.lang.String |
getHost()
|
WorkloadItem |
getSource()
|
char |
getStatus()
|
java.lang.String |
getUrl()
|
void |
setDepth(int depth)
Set the depth of this workload. |
void |
setHost(java.lang.String host)
The host of this workload. |
void |
setSource(WorkloadItem source)
Set the source of this workload, null for top level. |
void |
setStatus(char status)
Set the status of this workload. |
void |
setUrl(java.lang.String url)
Set the URL for this workload. |
java.lang.String |
toString()
|
void |
validate()
Validate this object, not really needed. |
| Methods inherited from class org.encog.util.orm.DataObject |
|---|
copy, equals, getBooleanValue, getCreated, getId, getLastUpdate, getVersion, setCreated, setLastUpdate |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WorkloadItem()
| Method Detail |
|---|
public int getDepth()
public java.lang.String getHost()
public WorkloadItem getSource()
public char getStatus()
public java.lang.String getUrl()
public void setDepth(int depth)
depth - The depth of this workload.public void setHost(java.lang.String host)
host - The host of this workload.public void setSource(WorkloadItem source)
source - The source of this workload.public void setStatus(char status)
status - The status (see WorkloadStatus).public void setUrl(java.lang.String url)
url - The URL for this workload.public java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
validate in class DataObject
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||