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
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateOrOverwriteFile
public CreateOrOverwriteFile(String path,
Iterable<String> lines)
CreateOrOverwriteFile
public CreateOrOverwriteFile(String path,
Iterable<String> lines,
String marker)
render
public String render(OsFamily family)
- Specified by:
render
in interface Statement
- Overrides:
render
in class AppendFile
hereFile
protected void hereFile(String path,
StringBuilder builder)
- Overrides:
hereFile
in class AppendFile
Copyright © 2009-2011 jclouds. All Rights Reserved.