Package org.jclouds.scriptbuilder
Class EnvBuilder
java.lang.Object
org.jclouds.scriptbuilder.EnvBuilder
Creates an environment file
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EnvBuilder
public EnvBuilder()
-
-
Method Details
-
export
Exports a variable inside the script- Parameters:
name
- name of the variable in UPPER_UNDERSCORE case format
-
build
builds the environment file, by adding the following- example usage
- variable exports
- return statement
- Parameters:
osFamily
- whether to write a cmd or bash script.
-