org.jclouds.scriptbuilder
Class EnvBuilder
java.lang.Object
org.jclouds.scriptbuilder.EnvBuilder
public class EnvBuilder
- extends Object
Creates an environment file
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnvBuilder
public EnvBuilder()
export
public EnvBuilder export(String name,
String value)
- Exports a variable inside the script
build
public String build(OsFamily osFamily)
- builds the environment file, by adding the following
- example usage
- variable exports
- return statement
- Parameters:
osFamily
- whether to write a cmd or bash script.
Copyright © 2009-2011 jclouds. All Rights Reserved.