Class SimplePipeline
- java.lang.Object
-
- io.annot8.implementations.pipeline.SimplePipeline
-
- All Implemented Interfaces:
Pipeline,Closeable,AutoCloseable
public class SimplePipeline extends Object implements Pipeline
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSimplePipeline.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()ContextgetContext()StringgetDescription()StringgetName()Collection<Processor>getProcessors()Collection<Source>getSources()ProcessorResponseprocess(Item item)SourceResponseread(ItemFactory itemFactory)protected voidremove(Processor processor)protected voidremove(Source source)
-
-
-
Method Detail
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfacePipeline
-
getContext
public Context getContext()
- Specified by:
getContextin interfacePipeline
-
getSources
public Collection<Source> getSources()
- Specified by:
getSourcesin interfacePipeline
-
getProcessors
public Collection<Processor> getProcessors()
- Specified by:
getProcessorsin interfacePipeline
-
read
public SourceResponse read(ItemFactory itemFactory)
-
process
public ProcessorResponse process(Item item)
-
remove
protected void remove(Processor processor)
-
remove
protected void remove(Source source)
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-