org.apache.avalon.excalibur.pipeline
Interface Pipeline

All Superinterfaces:
org.apache.avalon.framework.component.Component, Stage
All Known Implementing Classes:
DefaultPipeline

public interface Pipeline
extends Stage

This represents a pipeline made up of stages.

Author:
Peter Donald

Method Summary
 int getSize()
          Retrieve size of pipeline (number of stages).
 Stage getStage(int index)
          Retrieve a particular stage of pipeline
 

Method Detail

getSize

public int getSize()
Retrieve size of pipeline (number of stages).
Returns:
the size of pipeline

getStage

public Stage getStage(int index)
               throws java.util.NoSuchElementException
Retrieve a particular stage of pipeline
Parameters:
index - the index of stage
Returns:
the stage
Throws:
java.util.NoSuchElementException - if index >= getSize() or index < 0


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.