SMILA (incubation) API documentation

org.eclipse.smila.connectivity.framework
Class CrawlState

java.lang.Object
  extended by org.eclipse.smila.connectivity.framework.State
      extended by org.eclipse.smila.connectivity.framework.CrawlState
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class CrawlState
extends State

Utility class that contains the state of a crawl run.

See Also:
Serialized Form

Constructor Summary
CrawlState()
           
 
Method Summary
 CrawlState clone()
          
 CrawlThreadState getState()
          Returns the state of the CrawlThread.
 void setState(CrawlThreadState state)
          Set the state of the CrawlThread.
 
Methods inherited from class org.eclipse.smila.connectivity.framework.State
getDataSourceId, getEndTime, getImportRunId, getLastError, getStartTime, setDataSourceId, setEndTime, setImportRunId, setLastError, setStartTime
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrawlState

public CrawlState()
Method Detail

getState

public CrawlThreadState getState()
Returns the state of the CrawlThread.

Returns:
the state of the CrawlThread.

setState

public void setState(CrawlThreadState state)
Set the state of the CrawlThread.

Parameters:
state - the state of the CrawlThread.

clone

public CrawlState clone()
                 throws java.lang.CloneNotSupportedException

Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException
See Also:
Object.clone()

SMILA (incubation) API documentation