SMILA 1.0 API documentation

org.eclipse.smila.importing
Class DeltaCheckerWorker

java.lang.Object
  extended by org.eclipse.smila.importing.DeltaCheckerWorker
All Implemented Interfaces:
Worker

public class DeltaCheckerWorker
extends java.lang.Object
implements Worker

Worker implementation that performs delta checks.

Author:
stuc07

Constructor Summary
DeltaCheckerWorker()
           
 
Method Summary
 java.lang.String getName()
           
 void perform(TaskContext taskContext)
          Performs a computation on the data available in the TaskContext, such as a task for this worker, input and (if configured) output slots.
 void setDeltaService(DeltaService service)
           
 void unsetDeltaService(DeltaService service)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeltaCheckerWorker

public DeltaCheckerWorker()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Worker
Returns:
the name of the worker. The worker function will be executed for tasks tied to this worker name.

perform

public void perform(TaskContext taskContext)
             throws java.lang.Exception
Description copied from interface: Worker
Performs a computation on the data available in the TaskContext, such as a task for this worker, input and (if configured) output slots. An implementor must make sure, calls to this method must be thread-safe!

Specified by:
perform in interface Worker
Parameters:
taskContext - the TaskContext information with which this operation can be performed.
Throws:
java.lang.Exception

setDeltaService

public void setDeltaService(DeltaService service)

unsetDeltaService

public void unsetDeltaService(DeltaService service)

SMILA 1.0 API documentation