Package fi.evolver.script
Class Environment
java.lang.Object
fi.evolver.script.Environment
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPersonalVariable(String name) static voidsetPersonalVariable(String name, String value) Sets a personal environment variable into a hidden variable file.static voidsetPersonalVariable(String name, String value, String comment) Sets a personal environment variable into a hidden variable file.
-
Constructor Details
-
Environment
public Environment()
-
-
Method Details
-
setPersonalVariable
Sets a personal environment variable into a hidden variable file. The variable file will be sourced from the .bashrc file. Any previous variable with the same name will be replaced.- Parameters:
name- The name of the variable to be set.value- The new value for the variable.
-
setPersonalVariable
Sets a personal environment variable into a hidden variable file. The variable file will be sourced from the .bashrc file. Any previous variable with the same name will be replaced.- Parameters:
name- The name of the variable to be set.value- The new value for the variable.comment- A comment for the variable
-
getPersonalVariable
-