| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
INPUT_SLOT |
static java.lang.String |
NAME |
static java.lang.String |
OUTPUT_SLOT |
| Constructor and Description |
|---|
FileFetcherWorker() |
| Modifier and Type | Method and Description |
|---|---|
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 |
setFileCrawlerService(FileCrawlerService fileCrawler)
DS service reference bind method.
|
void |
unsetFileCrawlerService(FileCrawlerService fileCrawler)
DS service reference unbind method.
|
public static final java.lang.String NAME
public static final java.lang.String INPUT_SLOT
public static final java.lang.String OUTPUT_SLOT
public java.lang.String getName()
public void perform(TaskContext taskContext) throws java.lang.Exception
WorkerTaskContext, 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!public void setFileCrawlerService(FileCrawlerService fileCrawler)
public void unsetFileCrawlerService(FileCrawlerService fileCrawler)