org.jclouds.scriptbuilder
Class InitScript.Builder

java.lang.Object
  extended by org.jclouds.scriptbuilder.InitScript.Builder
Enclosing class:
InitScript

public static class InitScript.Builder
extends Object


Field Summary
protected  Map<String,String> exports
           
protected  StatementList init
           
protected  String instanceHome
           
protected  String instanceName
           
protected  String logDir
           
protected  StatementList run
           
 
Constructor Summary
InitScript.Builder()
           
 
Method Summary
 InitScript build()
           
 InitScript.Builder exportVariables(Map<String,String> exports)
           
 InitScript.Builder home(String instanceHome)
           
 InitScript.Builder init(Iterable<Statement> init)
           
 InitScript.Builder init(Statement... init)
           
 InitScript.Builder init(Statement init)
           
 InitScript.Builder init(StatementList init)
           
 InitScript.Builder logDir(String logDir)
           
 InitScript.Builder name(String instanceName)
           
 InitScript.Builder run(Iterable<Statement> run)
           
 InitScript.Builder run(Statement... run)
           
 InitScript.Builder run(Statement run)
           
 InitScript.Builder run(StatementList run)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instanceName

protected String instanceName

instanceHome

protected String instanceHome

logDir

protected String logDir

exports

protected Map<String,String> exports

init

protected StatementList init

run

protected StatementList run
Constructor Detail

InitScript.Builder

public InitScript.Builder()
Method Detail

name

public InitScript.Builder name(String instanceName)
See Also:
InitScript.getInstanceName()

home

public InitScript.Builder home(String instanceHome)
See Also:
InitScript.getInstanceHome()

logDir

public InitScript.Builder logDir(String logDir)
See Also:
InitScript.getLogDir()

exportVariables

public InitScript.Builder exportVariables(Map<String,String> exports)
See Also:
InitScript#getExportedVariables()

run

public InitScript.Builder run(Statement run)
See Also:
InitScript#getRun()

run

public InitScript.Builder run(Statement... run)
See Also:
InitScript#getRun()

run

public InitScript.Builder run(Iterable<Statement> run)
See Also:
InitScript#getRun()

run

public InitScript.Builder run(StatementList run)
See Also:
InitScript#getRun()

init

public InitScript.Builder init(Statement init)
See Also:
InitScript#getInit()

init

public InitScript.Builder init(Statement... init)
See Also:
InitScript#getInit()

init

public InitScript.Builder init(Iterable<Statement> init)
See Also:
InitScript#getInit()

init

public InitScript.Builder init(StatementList init)
See Also:
InitScript#getInit()

build

public InitScript build()


Copyright © 2009-2012 jclouds. All Rights Reserved.