Package org.jclouds.scriptbuilder.domain
Class AppendFile
java.lang.Object
org.jclouds.scriptbuilder.domain.AppendFile
- All Implemented Interfaces:
Statement
- Direct Known Subclasses:
CreateOrOverwriteFile
Creates a run script
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAppendFile(String path, Iterable<String> lines, String delimiter, boolean expandVariables) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringappendLineToWindowsFile(String line, String path) protected Stringstatic AppendFile.Builderbuilder()static StringescapeVarTokens(String toEscape, OsFamily family) functionDependencies(OsFamily family) protected StringhereFile()
-
Field Details
-
DELIMITER
- See Also:
-
path
-
lines
-
delimiter
-
expandVariables
protected final boolean expandVariables
-
-
Constructor Details
-
AppendFile
-
-
Method Details
-
builder
-
escapeVarTokens
-
functionDependencies
- Specified by:
functionDependenciesin interfaceStatement
-
render
-
appendToWindowsFile
-
hereFile
-
startHereFile
-
appendLineToWindowsFile
-