org.jclouds.scriptbuilder
Class InitBuilder

java.lang.Object
  extended by org.jclouds.scriptbuilder.ScriptBuilder
      extended by 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)
           
 
Method Summary
 boolean equals(Object obj)
           
 CreateRunScript getCreateRunScript()
           
 StatementList getInitStatement()
           
 String getInstanceHome()
           
 String getInstanceName()
           
 String getLogDir()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.jclouds.scriptbuilder.ScriptBuilder
accept, addEnvironmentVariableScope, addStatement, functionDependencies, render, unsetEnvironmentVariable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.