org.xfp
Class Pipeline
java.lang.Object
org.xfp.AttributeContainer
org.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
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
logger
protected org.apache.log4j.Logger logger
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.
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.