|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.types.Environment
Wrapper for environment variables.
Nested Class Summary | |
static class |
Environment.Variable
representation of a single env value |
Field Summary | |
protected java.util.Vector |
variables
a vector of type Enviromment.Variable |
Constructor Summary | |
Environment()
constructor |
Method Summary | |
void |
addVariable(Environment.Variable var)
add a variable. |
java.lang.String[] |
getVariables()
get the variable list as an array |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Vector variables
Environment.Variable
Constructor Detail |
public Environment()
Method Detail |
public void addVariable(Environment.Variable var)
var
- new variable.public java.lang.String[] getVariables() throws BuildException
BuildException
- if any variable is misconfigured
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |