org.jclouds.scriptbuilder
Class InitBuilder
java.lang.Object
org.jclouds.scriptbuilder.ScriptBuilder
org.jclouds.scriptbuilder.InitBuilder
- All Implemented Interfaces:
- AcceptsStatementVisitor, Statement
public class InitBuilder
- extends ScriptBuilder
Creates an init script file
- Author:
- Adrian Cole
Constructor Summary |
InitBuilder(String instanceName,
String instanceHome,
String logDir,
Map<String,String> variables,
Iterable<Statement> statements)
|
InitBuilder(String instanceName,
String instanceHome,
String logDir,
Map<String,String> variables,
Iterable<Statement> initStatements,
Iterable<Statement> statements)
|
InitBuilder
public InitBuilder(String instanceName,
String instanceHome,
String logDir,
Map<String,String> variables,
Iterable<Statement> statements)
InitBuilder
public InitBuilder(String instanceName,
String instanceHome,
String logDir,
Map<String,String> variables,
Iterable<Statement> initStatements,
Iterable<Statement> statements)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getInstanceName
public String getInstanceName()
getInstanceHome
public String getInstanceHome()
getLogDir
public String getLogDir()
toString
public String toString()
- Overrides:
toString
in class Object
getInitStatement
public StatementList getInitStatement()
getCreateRunScript
public CreateRunScript getCreateRunScript()
Copyright © 2009-2011 jclouds. All Rights Reserved.