-
- All Superinterfaces:
WithDescription,WithName
public interface PipelineDescriptor extends WithName, WithDescription
Describes a pipeline, which is a collection of ordered sources and processors.The ordering is implementation dependent (i.e. an implementation may return processors in the order they were added, or in the order that makes sense based on their capabilities)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfacePipelineDescriptor.BuilderBuilder interface for building new pipeline descriptors
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<ProcessorDescriptor>getProcessors()Return an ordered list ofProcessorDescriptors describing the processers that will process data in the pipelineCollection<SourceDescriptor>getSources()Return an ordered list ofSourceDescriptors describing the sources that will feed data into the pipeline-
Methods inherited from interface io.annot8.api.helpers.WithDescription
getDescription
-
-
-
-
Method Detail
-
getSources
Collection<SourceDescriptor> getSources()
Return an ordered list ofSourceDescriptors describing the sources that will feed data into the pipeline- Returns:
- sources
-
getProcessors
Collection<ProcessorDescriptor> getProcessors()
Return an ordered list ofProcessorDescriptors describing the processers that will process data in the pipeline- Returns:
- processors
-
-