Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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 `Processor`s.

A pipeline implementation processes an input object, with all its processors in the configured order, and returns an output object.

Author:
  Christian Bauer

Constructor Summary
`Pipeline()`

Method Summary
`OUT` | `execute(IN input)`
`Context` | `getContext()`
`abstract Processor<IN,OUT>[]` | `getProcessors()`
`void` | `prepareOutputFile(File file, boolean overwrite)`
`protected void` | `resetContext()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Pipeline

    public Pipeline()

Method Detail

### 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()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011 Teleal GmbH, Switzerland. All Rights Reserved.