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.
|
java.lang.Object |
get(java.lang.String id) |
java.lang.Object |
get(java.lang.String id,
java.lang.Object defaultValue) |
boolean |
has(java.lang.String id) |
java.util.Set<java.lang.String> |
keySet() |
boolean |
put(java.lang.String id,
java.lang.Object v) |
java.lang.Object |
remove(java.lang.String id) |
void |
setup()
Called just before the VM is executed, to enable and preparations needed
in the environment.
|
boolean has(java.lang.String id)
id
- the variable namejava.lang.Object get(java.lang.String id)
id
- the variable namejava.lang.Object get(java.lang.String id, java.lang.Object defaultValue)
id
- the variable namedefaultValue
- a parameterizable default valueboolean put(java.lang.String id, java.lang.Object v)
id
- the variable namev
- the value that should be associated with idjava.lang.Object remove(java.lang.String id)
id
- the variable namejava.util.Set<java.lang.String> keySet()
void commit()
void setup()