SMILA (incubation) API documentation

org.eclipse.smila.connectivity.framework
Class AgentState

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

public class AgentState
extends State

Utility class that contains the state of a agent.

See Also:
Serialized Form

Constructor Summary
AgentState()
           
 
Method Summary
 AgentState clone()
          
 AgentThreadState getState()
          Returns the state of the CrawlThread.
 void setState(AgentThreadState state)
          Set the state of the Agent thread.
 
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

AgentState

public AgentState()
Method Detail

getState

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

Returns:
the state of the CrawlThread.

setState

public void setState(AgentThreadState state)
Set the state of the Agent thread.

Parameters:
state - the state of the Agent thread.

clone

public AgentState clone()
                 throws java.lang.CloneNotSupportedException

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

SMILA (incubation) API documentation