org.xfp
Class Pipeline

java.lang.Object
  extended byorg.xfp.AttributeContainer
      extended byorg.xfp.Pipeline
Direct Known Subclasses:
PipelineJobListener

public class Pipeline
extends AttributeContainer

A Pipeline contains one or more filter trees. This class is not thread-safe, a single instance must not be used concurrently by multiple threads.

Version:
$Id: Pipeline.java,v 1.1 2004/03/19 15:56:43 flaviotordini Exp $
Author:
Flavio Tordini

Field Summary
protected  org.apache.log4j.Logger logger
           
 
Fields inherited from class org.xfp.AttributeContainer
name, parentContainer
 
Constructor Summary
Pipeline(org.w3c.dom.Document pipelineDocument, java.io.File workingDir, AttributeContainer parent, org.apache.log4j.spi.LoggerRepository loggerRepository)
          Constructor for the Pipeline object.
 
Method Summary
 void execute()
          Runs this Pipeline.
protected  java.util.List getFilters()
          Gets the first level filters.
 boolean isRunning()
          Returns true if this pipeline is currently running.
 java.lang.String toString()
           
 
Methods inherited from class org.xfp.AttributeContainer
configureAttributes, disposeAttributes, getAttributes, getFullName, getName, initializeAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

protected org.apache.log4j.Logger logger
Constructor Detail

Pipeline

public Pipeline(org.w3c.dom.Document pipelineDocument,
                java.io.File workingDir,
                AttributeContainer parent,
                org.apache.log4j.spi.LoggerRepository loggerRepository)
         throws java.lang.Exception
Constructor for the Pipeline object.

Parameters:
pipelineDocument - Document containg this pipeline configuration.
Method Detail

getFilters

protected java.util.List getFilters()
Gets the first level filters.

Returns:
List of Filter

execute

public void execute()
Runs this Pipeline.


toString

public java.lang.String toString()
See Also:
Object.toString()

isRunning

public boolean isRunning()
Returns true if this pipeline is currently running.



Copyright © 2003-2004 XFP Team. All Rights Reserved.