org.teleal.lemma.pipeline
Class Pipeline<IN,OUT>
java.lang.Object
org.teleal.lemma.pipeline.Pipeline<IN,OUT>
- Direct Known Subclasses:
- XHTMLTemplateJavadocPipeline
public abstract class Pipeline<IN,OUT>
- extends Object
Encapsulates an array of Processors.
A pipeline implementation processes an input object, with all its
processors in the configured order, and returns an output object.
- Author:
- Christian Bauer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Pipeline
public Pipeline()
getContext
public Context getContext()
resetContext
protected void resetContext()
execute
public OUT execute(IN input)
prepareOutputFile
public void prepareOutputFile(File file,
boolean overwrite)
throws Exception
- Throws:
Exception
getProcessors
public abstract Processor<IN,OUT>[] getProcessors()
Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.