Package org.jclouds.scriptbuilder.domain
Class CreateOrOverwriteFile
- java.lang.Object
-
- org.jclouds.scriptbuilder.domain.AppendFile
-
- org.jclouds.scriptbuilder.domain.CreateOrOverwriteFile
-
- All Implemented Interfaces:
Statement
public class CreateOrOverwriteFile extends AppendFile
Creates a run script
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateOrOverwriteFile.Builder
-
Field Summary
-
Fields inherited from class org.jclouds.scriptbuilder.domain.AppendFile
delimiter, DELIMITER, expandVariables, lines, path
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CreateOrOverwriteFile(String path, Iterable<String> lines, String delimiter, boolean expandVariables)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
appendToWindowsFile()
static CreateOrOverwriteFile.Builder
builder()
StringBuilder
startHereFile()
-
Methods inherited from class org.jclouds.scriptbuilder.domain.AppendFile
appendLineToWindowsFile, escapeVarTokens, functionDependencies, hereFile, render
-
-
-
-
Method Detail
-
builder
public static CreateOrOverwriteFile.Builder builder()
-
appendToWindowsFile
protected String appendToWindowsFile()
- Overrides:
appendToWindowsFile
in classAppendFile
-
startHereFile
public StringBuilder startHereFile()
- Overrides:
startHereFile
in classAppendFile
-
-