|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.avalon.excalibur.pipeline.DefaultPipeline
This is basic array based pipeline.
Field Summary | |
protected java.util.ArrayList |
m_stages
|
Constructor Summary | |
DefaultPipeline()
|
Method Summary | |
void |
addStage(Stage stage)
|
int |
getSize()
Retrieve size of pipeline (number of stages). |
Stage |
getStage(int index)
Retrieve a particular stage of pipeline |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final java.util.ArrayList m_stages
Constructor Detail |
public DefaultPipeline()
Method Detail |
public int getSize()
getSize
in interface Pipeline
public Stage getStage(int index) throws java.util.NoSuchElementException
getStage
in interface Pipeline
index
- the index of stagejava.util.NoSuchElementException
- if index >= getSize() or index < 0public void addStage(Stage stage)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |