| Constructor and Description |
|---|
PandaPipeline(Pipeline<P> parentPipeline,
String name) |
PandaPipeline(String name) |
| Modifier and Type | Method and Description |
|---|---|
long |
getHandleTime()
Get total time of data handling
|
String |
getName()
Get name of pipeline
|
List<? extends ParserRepresentation<P>> |
getRepresentations() |
HandleResult<P> |
handle(Context context,
Channel channel,
Snippet source)
Search for the parser through the pipeline with untouched source
|
void |
register(ParserRepresentation<P> parserRepresentation)
Register the specified parser to
|
protected void |
sort() |
public PandaPipeline(String name)
public HandleResult<P> handle(Context context, Channel channel, Snippet source)
Pipelineprotected void sort()
public void register(ParserRepresentation<P> parserRepresentation)
Pipelinepublic long getHandleTime()
PipelinegetHandleTime in interface Pipeline<P extends Parser>public List<? extends ParserRepresentation<P>> getRepresentations()
getRepresentations in interface Pipeline<P extends Parser>Copyright © 2020. All rights reserved.