public interface ExecutionEnvironment
ExecutionEnvironment
is responsible of managing environment variables.Modifier and Type | Method and Description |
---|---|
void |
commit()
Called just after the VM is executed, to finalize information of the
execution for the environment.
|
Object |
get(String id) |
Object |
get(String id,
Object defaultValue) |
boolean |
has(String id) |
boolean |
put(String id,
Object v) |
Object |
remove(String id) |
void |
setup()
Called just before the VM is executed, to enable and preparations needed
in the environment.
|
boolean has(String id)
id
- the variable nameObject get(String id)
id
- the variable nameObject get(String id, Object defaultValue)
id
- the variable namedefaultValue
- a parameterizable default valueboolean put(String id, Object v)
id
- the variable namev
- the value that should be associated with idObject remove(String id)
id
- the variable namevoid commit()
void setup()