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
ConstructorsModifierConstructorDescriptionprotected
AppendFile
(String path, Iterable<String> lines, String delimiter, boolean expandVariables) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
appendLineToWindowsFile
(String line, String path) protected String
static AppendFile.Builder
builder()
static String
escapeVarTokens
(String toEscape, OsFamily family) functionDependencies
(OsFamily family) protected String
hereFile()
-
Field Details
-
DELIMITER
- See Also:
-
path
-
lines
-
delimiter
-
expandVariables
protected final boolean expandVariables
-
-
Constructor Details
-
AppendFile
-
-
Method Details
-
builder
-
escapeVarTokens
-
functionDependencies
- Specified by:
functionDependencies
in interfaceStatement
-
render
-
appendToWindowsFile
-
hereFile
-
startHereFile
-
appendLineToWindowsFile
-