|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Statement | |
|---|---|
| org.jclouds.scriptbuilder | |
| org.jclouds.scriptbuilder.domain | |
| Uses of Statement in org.jclouds.scriptbuilder |
|---|
| Classes in org.jclouds.scriptbuilder that implement Statement | |
|---|---|
class |
InitBuilder
Creates an init script file |
class |
ScriptBuilder
Creates a shell script. |
| Methods in org.jclouds.scriptbuilder with parameters of type Statement | |
|---|---|
ScriptBuilder |
ScriptBuilder.addStatement(Statement statement)
|
| Constructor parameters in org.jclouds.scriptbuilder with type arguments of type Statement | |
|---|---|
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(String instanceName,
String instanceHome,
String logDir,
Map<String,String> variables,
Iterable<Statement> initStatements,
Iterable<Statement> statements)
|
|
| Uses of Statement in org.jclouds.scriptbuilder.domain |
|---|
| Classes in org.jclouds.scriptbuilder.domain that implement Statement | |
|---|---|
class |
AppendFile
Creates a run script |
class |
AuthorizeRSAPublicKey
|
class |
Call
Statement used in a shell script |
class |
CreateRunScript
Creates a run script |
static class |
CreateRunScript.AddExportToFile
|
static class |
CreateRunScript.AddTitleToFile
|
class |
InstallRSAPrivateKey
|
class |
InterpretableStatement
Statement used in a shell script |
class |
Kill
Statement used in a shell script |
class |
PipeHttpResponseTo
Pipes the content of the http response to a shell command that accepts input from stdin |
class |
PipeHttpResponseToBash
Pipes the content of the http response to bash |
class |
PipeHttpResponseToTarxpzfIntoDirectory
Pipes the content of the http response to tar -xpzf |
class |
SaveHttpResponseTo
saves the content of the http response to a file |
class |
StatementList
Statements used in a shell script |
class |
SwitchArg
Statement used in a shell script |
class |
UnzipHttpResponseIntoDirectory
unzips the content into a directory |
| Fields in org.jclouds.scriptbuilder.domain with type parameters of type Statement | |
|---|---|
List<Statement> |
StatementList.statements
|
| Methods in org.jclouds.scriptbuilder.domain that return Statement | |
|---|---|
static Statement |
Statements.appendFile(String path,
Iterable<String> lines)
|
static Statement |
Statements.call(String function,
String... args)
|
static Statement |
Statements.createRunScript(String instanceName,
Iterable<String> exports,
String pwd,
Iterable<Statement> statements)
|
static Statement |
Statements.exec(String portableStatement)
interprets and adds a newline to the statement |
static Statement |
Statements.extractTargzIntoDirectory(String method,
URI endpoint,
com.google.common.collect.Multimap<String,String> headers,
String directory)
untar, ungzip the data received from the request parameters. |
static Statement |
Statements.extractZipIntoDirectory(String method,
URI endpoint,
com.google.common.collect.Multimap<String,String> headers,
String directory)
unzip the data received from the request parameters. |
static Statement |
Statements.findPid(String args)
Stores the pid into the variable FOUND_PID if successful. |
static Statement |
Statements.forget(String instanceName,
String script,
String logDir)
Runs the script in a way that it can be matched later with Statements.findPid(java.lang.String) |
static Statement |
Statements.interpret(String... portableStatements)
statement can have multiple newlines, note you should use lf to be portable |
static Statement |
Statements.kill()
Kills the pid and subprocesses related to the variable FOUND_PID if set. |
static Statement |
Statements.newStatementList(Statement... statements)
|
static Statement |
Statements.pipeHttpResponseToBash(String method,
URI endpoint,
com.google.common.collect.Multimap<String,String> headers)
exec the data received from the request parameters. |
static Statement |
Statements.rm(String path)
|
static Statement |
Statements.switchArg(int arg,
Map<String,Statement> valueToActions)
|
| Methods in org.jclouds.scriptbuilder.domain with parameters of type Statement | |
|---|---|
static Statement |
Statements.newStatementList(Statement... statements)
|
| Method parameters in org.jclouds.scriptbuilder.domain with type arguments of type Statement | |
|---|---|
static Statement |
Statements.createRunScript(String instanceName,
Iterable<String> exports,
String pwd,
Iterable<Statement> statements)
|
static Statement |
Statements.switchArg(int arg,
Map<String,Statement> valueToActions)
|
| Constructors in org.jclouds.scriptbuilder.domain with parameters of type Statement | |
|---|---|
PipeHttpResponseTo(Statement toExec,
String method,
URI endpoint,
com.google.common.collect.Multimap<String,String> headers)
|
|
StatementList(Statement... statements)
|
|
| Constructor parameters in org.jclouds.scriptbuilder.domain with type arguments of type Statement | |
|---|---|
CreateRunScript(String instanceName,
Iterable<String> exports,
String pwd,
Iterable<Statement> statements)
|
|
StatementList(Iterable<Statement> statements)
|
|
SwitchArg(int arg,
Map<String,Statement> valueToActions)
Generates a switch statement based on arg. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||