+ std::string getValue(const char* variableName, bool exceptionIfMissing = false) throw(RuntimeException);
+ std::string getValue(const std::string &variableName, bool exceptionIfMissing = false) throw(RuntimeException);
+
+ /**
+ Sets an environment variable. If an empty variable name is provided, or environment set operation fails,
+ an exception will be launched.
+
+ @param name Variable name.
+ @param value Variable value
+ @param overwrite Overwrite an existing variable name/value or keep old value if exists
+ */
+ void setVariable(const std::string &name, const std::string &value, bool overwrite = true) throw(RuntimeException);
+
+ /**
+ Unsets an environment variable (different than set empty string). If an empty variable name is provided,
+ or environment set operation fails, an exception will be launched.
+
+ @param name Variable name. If empty, nothing is done.
+ */
+ void unsetVariable(const std::string &name) throw(RuntimeException);
+