Class ThreadedCorpusBatchStepTask
- java.lang.Object
-
- io.outofprintmagazine.corpus.batch.CorpusBatchStep
-
- io.outofprintmagazine.corpus.batch.ThreadedCorpusBatchStepTask
-
- All Implemented Interfaces:
ICorpusBatchStep
,ICorpusBatchStepTask
,Runnable
public abstract class ThreadedCorpusBatchStepTask extends CorpusBatchStep implements ICorpusBatchStepTask
-
-
Field Summary
Fields Modifier and Type Field Description protected com.fasterxml.jackson.databind.node.ObjectNode
input
protected com.fasterxml.jackson.databind.node.ArrayNode
output
-
Fields inherited from class io.outofprintmagazine.corpus.batch.CorpusBatchStep
dictionaryPOS
-
-
Constructor Summary
Constructors Constructor Description ThreadedCorpusBatchStepTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.node.ArrayNode
getOutput()
void
run()
void
setInput(com.fasterxml.jackson.databind.node.ObjectNode outputStepItem)
-
Methods inherited from class io.outofprintmagazine.corpus.batch.CorpusBatchStep
copyInputToOutput, copyInputToOutput, getAuthor, getAuthor, getData, getDate, getDate, getDateFormat, getDefaultProperties, getDocID, getExtensionFromMimeType, getJsonNodeFromStorage, getJsonNodeFromStorage, getJsoupDocumentFromStorage, getJsoupDocumentFromStorageNormalized, getLink, getMapper, getMimeTypeFromExtension, getOutputScratchFilePath, getOutputScratchFilePath, getOutputScratchFilePathFromInput, getParameterStore, getStorage, getStorageLink, getText, getText, getTextDocumentFromStorage, getTextDocumentFromStorage, getTextWithSelector, getThumbnail, getTitle, getTitle, isDictionaryWord, run, runOne, setAuthor, setAuthor, setData, setDate, setDate, setDate, setDocID, setLink, setParameterStore, setStorage, setStorageLink, setThumbnail, setThumbnail, setTitle, setTitle
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.outofprintmagazine.corpus.batch.ICorpusBatchStepTask
getData, setData, setParameterStore, setStorage
-
-
-
-
Method Detail
-
setInput
public void setInput(com.fasterxml.jackson.databind.node.ObjectNode outputStepItem) throws Exception
- Specified by:
setInput
in interfaceICorpusBatchStepTask
- Throws:
Exception
-
getOutput
public com.fasterxml.jackson.databind.node.ArrayNode getOutput()
- Specified by:
getOutput
in interfaceICorpusBatchStepTask
-
-