org.jclouds.scriptbuilder.domain
Class CreateFile
java.lang.Object
org.jclouds.scriptbuilder.domain.CreateFile
- All Implemented Interfaces:
- Statement
public class CreateFile
- extends Object
- implements Statement
Creates a run script
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MARKER
public static final String MARKER
- See Also:
- Constant Field Values
REDIRECT_FD_PATTERN
public static final Pattern REDIRECT_FD_PATTERN
CreateFile
public CreateFile(String path,
Iterable<String> lines)
CreateFile
public CreateFile(String path,
Iterable<String> lines,
String marker)
escapeVarTokens
public static String escapeVarTokens(String toEscape,
OsFamily family)
functionDependencies
public Iterable<String> functionDependencies(OsFamily family)
- Specified by:
functionDependencies
in interface Statement
render
public String render(OsFamily family)
- Specified by:
render
in interface Statement
Copyright © 2009-2011 jclouds. All Rights Reserved.