com.xmlcalabash.model
Class Environment

java.lang.Object
  extended by com.xmlcalabash.model.Environment

public class Environment
extends java.lang.Object

Author:
ndw

Constructor Summary
Environment(Environment env)
           
Environment(Step pipeline)
          Creates a new instance of Environment
 
Method Summary
 void addStep(Step step)
           
 int countVisibleSteps(java.lang.String stepName)
           
 Port getDefaultReadablePort()
           
 Environment getParent()
           
 Output readablePort(java.lang.String stepName, java.lang.String portName)
           
 void setDefaultReadablePort(Port port)
           
protected  void setPipeline(Pipeline pipe)
           
 Step visibleStep(java.lang.String stepName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Environment

public Environment(Step pipeline)
Creates a new instance of Environment


Environment

public Environment(Environment env)
Method Detail

getParent

public Environment getParent()

setPipeline

protected void setPipeline(Pipeline pipe)

addStep

public void addStep(Step step)

setDefaultReadablePort

public void setDefaultReadablePort(Port port)

getDefaultReadablePort

public Port getDefaultReadablePort()

countVisibleSteps

public int countVisibleSteps(java.lang.String stepName)

visibleStep

public Step visibleStep(java.lang.String stepName)

readablePort

public Output readablePort(java.lang.String stepName,
                           java.lang.String portName)