public interface PipelinePath
| Modifier and Type | Method and Description |
|---|---|
<P extends Parser> |
createPipeline(PipelineComponent<P> component)
Create a new pipeline based on the given component
|
<P extends Parser> |
getPipeline(PipelineComponent<P> component)
Get pipeline using the given component
|
long |
getTotalHandleTime()
Get sum of handle times stored by pipelines in the path
|
boolean |
hasPipeline(PipelineComponent<?> component)
Check if path contains the given pipeline
|
Collection<String> |
names()
Collect names of pipelines
|
<P extends Parser> Pipeline<P> createPipeline(PipelineComponent<P> component)
P - type of parsers represented by pipelinecomponent - the component to useboolean hasPipeline(PipelineComponent<?> component)
component - the identifier of pipeline to search for<P extends Parser> Pipeline<P> getPipeline(PipelineComponent<P> component)
P - the type of represented parsers by requested pipelinecomponent - the component to search forlong getTotalHandleTime()
Collection<String> names()
Copyright © 2020. All rights reserved.