public final class PandaPipelinePath extends Object implements PipelinePath
| Constructor and Description |
|---|
PandaPipelinePath() |
| 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
|
public <P extends Parser> Pipeline<P> createPipeline(PipelineComponent<P> component)
PipelinePathcreatePipeline in interface PipelinePathP - type of parsers represented by pipelinecomponent - the component to usepublic boolean hasPipeline(PipelineComponent<?> component)
PipelinePathhasPipeline in interface PipelinePathcomponent - the identifier of pipeline to search forpublic <P extends Parser> Pipeline<P> getPipeline(PipelineComponent<P> component)
PipelinePathgetPipeline in interface PipelinePathP - the type of represented parsers by requested pipelinecomponent - the component to search forpublic long getTotalHandleTime()
PipelinePathgetTotalHandleTime in interface PipelinePathpublic Collection<String> names()
PipelinePathnames in interface PipelinePathCopyright © 2020. All rights reserved.