Package org.jclouds.scriptbuilder
Class EnvBuilder
- java.lang.Object
-
- org.jclouds.scriptbuilder.EnvBuilder
-
public class EnvBuilder extends Object
Creates an environment file
-
-
Constructor Summary
Constructors Constructor Description EnvBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
build(OsFamily osFamily)
builds the environment file, by adding the following example usage variable exports return statementEnvBuilder
export(String name, String value)
Exports a variable inside the script
-
-
-
Method Detail
-
export
public EnvBuilder export(String name, String value)
Exports a variable inside the script- Parameters:
name
- name of the variable in UPPER_UNDERSCORE case format
-
-