org.apache.tools.ant.types
public class Environment extends Object
| Nested Class Summary | |
|---|---|
| static class | Environment.Variable
representation of a single env value |
| Field Summary | |
|---|---|
| protected Vector | variables
a vector of type Enviromment.Variable |
| Constructor Summary | |
|---|---|
| Environment()
constructor | |
| Method Summary | |
|---|---|
| void | addVariable(Environment.Variable var)
add a variable.
|
| String[] | getVariables()
get the variable list as an array |
| Vector | getVariablesVector()
Get the raw vector of variables. |
See Also: Variable
Parameters: var new variable.
Returns: array of key=value assignment strings
Throws: BuildException if any variable is misconfigured
Returns: a potentially empty (but never null) vector of elements of type Variable
Since: Ant 1.7