| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of Statement in org.jclouds.aws.ec2.compute | 
|---|
| Methods in org.jclouds.aws.ec2.compute with parameters of type Statement | |
|---|---|
|  AWSEC2TemplateOptions | AWSEC2TemplateOptions.runScript(Statement script)This script will be executed as the root user upon system startup. | 
| Uses of Statement in org.jclouds.compute | 
|---|
| Methods in org.jclouds.compute that return Statement | |
|---|---|
|  Statement | RunScriptOnNodesException.getRunScript() | 
| Methods in org.jclouds.compute with parameters of type Statement | |
|---|---|
|  ExecResponse | ComputeService.runScriptOnNode(String id,
                Statement runScript) | 
|  ExecResponse | ComputeService.runScriptOnNode(String id,
                Statement runScript,
                RunScriptOptions options)Run the script on a specific node | 
|  Map<? extends NodeMetadata,ExecResponse> | ComputeService.runScriptOnNodesMatching(com.google.common.base.Predicate<NodeMetadata> filter,
                         Statement runScript) | 
|  Map<? extends NodeMetadata,ExecResponse> | ComputeService.runScriptOnNodesMatching(com.google.common.base.Predicate<NodeMetadata> filter,
                         Statement runScript,
                         RunScriptOptions options)Run the script on all nodes with the specific predicate. | 
|  com.google.common.util.concurrent.ListenableFuture<ExecResponse> | ComputeService.submitScriptOnNode(String id,
                   Statement runScript,
                   RunScriptOptions options)Run the script on a specific node in the background, typically as nohup | 
| Constructors in org.jclouds.compute with parameters of type Statement | |
|---|---|
| RunScriptOnNodesException(Statement runScript,
                          RunScriptOptions options,
                          Map<NodeMetadata,ExecResponse> successfulNodes,
                          Map<?,Exception> executionExceptions,
                          Map<? extends NodeMetadata,? extends Throwable> failedNodes) | |
| Uses of Statement in org.jclouds.compute.callables | 
|---|
| Fields in org.jclouds.compute.callables declared as Statement | |
|---|---|
| protected  Statement | RunScriptOnNodeUsingSsh.statement | 
| Methods in org.jclouds.compute.callables that return Statement | |
|---|---|
|  Statement | RunScriptOnNode.getStatement() | 
|  Statement | RunScriptOnNodeUsingSsh.getStatement() | 
| Methods in org.jclouds.compute.callables with parameters of type Statement | |
|---|---|
|  RunScriptOnNode | RunScriptOnNode.Factory.create(NodeMetadata node,
       Statement script,
       RunScriptOptions options) | 
| static InitBuilder | RunScriptOnNodeAsInitScriptUsingSsh.createInitScript(InitScriptConfigurationForTasks config,
                 String name,
                 Statement script) | 
|  com.google.common.util.concurrent.ListenableFuture<ExecResponse> | RunScriptOnNode.Factory.submit(NodeMetadata node,
       Statement script,
       RunScriptOptions options) | 
| Constructors in org.jclouds.compute.callables with parameters of type Statement | |
|---|---|
| RunScriptOnNodeAsInitScriptUsingSsh(com.google.common.base.Function<NodeMetadata,SshClient> sshFactory,
                                    InitScriptConfigurationForTasks initScriptConfiguration,
                                    NodeMetadata node,
                                    Statement script,
                                    RunScriptOptions options) | |
| RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete(BlockUntilInitScriptStatusIsZeroThenReturnOutput.Factory statusFactory,
                                                         ComputeServiceConstants.Timeouts timeouts,
                                                         com.google.common.base.Function<NodeMetadata,SshClient> sshFactory,
                                                         InitScriptConfigurationForTasks initScriptConfiguration,
                                                         NodeMetadata node,
                                                         Statement script,
                                                         RunScriptOptions options) | |
| RunScriptOnNodeUsingSsh(com.google.common.base.Function<NodeMetadata,SshClient> sshFactory,
                        NodeMetadata node,
                        Statement statement,
                        RunScriptOptions options) | |
| Uses of Statement in org.jclouds.compute.functions | 
|---|
| Methods in org.jclouds.compute.functions that return Statement | |
|---|---|
|  Statement | TemplateOptionsToStatement.apply(TemplateOptions options) | 
| Uses of Statement in org.jclouds.compute.internal | 
|---|
| Methods in org.jclouds.compute.internal with parameters of type Statement | |
|---|---|
|  com.google.common.base.Function<NodeMetadata,NodeMetadata> | PersistNodeCredentials.always(Statement statement) | 
|  com.google.common.base.Function<NodeMetadata,NodeMetadata> | PersistNodeCredentials.ifAdminAccess(Statement statement) | 
|  ExecResponse | BaseComputeService.runScriptOnNode(String id,
                Statement runScript) | 
|  ExecResponse | BaseComputeService.runScriptOnNode(String id,
                Statement runScript,
                RunScriptOptions options)Run the script on a specific node | 
|  Map<NodeMetadata,ExecResponse> | BaseComputeService.runScriptOnNodesMatching(com.google.common.base.Predicate<NodeMetadata> filter,
                         Statement runScript) | 
|  Map<NodeMetadata,ExecResponse> | BaseComputeService.runScriptOnNodesMatching(com.google.common.base.Predicate<NodeMetadata> filter,
                         Statement runScript,
                         RunScriptOptions options)Run the script on all nodes with the specific predicate. | 
|  com.google.common.util.concurrent.ListenableFuture<ExecResponse> | BaseComputeService.submitScriptOnNode(String id,
                   Statement runScript,
                   RunScriptOptions options)Run the script on a specific node in the background, typically as nohup | 
| Uses of Statement in org.jclouds.compute.options | 
|---|
| Fields in org.jclouds.compute.options declared as Statement | |
|---|---|
| protected  Statement | TemplateOptions.script | 
| Methods in org.jclouds.compute.options that return Statement | |
|---|---|
|  Statement | TemplateOptions.getRunScript() | 
|  Statement | TemplateOptions.ImmutableTemplateOptions.getRunScript() | 
| Methods in org.jclouds.compute.options with parameters of type Statement | |
|---|---|
|  TemplateOptions | TemplateOptions.runScript(Statement script)This script will be executed as the root user upon system startup. | 
|  TemplateOptions | TemplateOptions.ImmutableTemplateOptions.runScript(Statement script)unsupported as objects of this class are immutable | 
| static TemplateOptions | TemplateOptions.Builder.runScript(Statement script) | 
| Uses of Statement in org.jclouds.compute.strategy | 
|---|
| Methods in org.jclouds.compute.strategy with parameters of type Statement | |
|---|---|
|  Callable<RunScriptOnNode> | InitializeRunScriptOnNodeOrPlaceInBadMap.Factory.create(NodeMetadata node,
       Statement script,
       RunScriptOptions options,
       Map<NodeMetadata,Exception> badNodes) | 
| Uses of Statement in org.jclouds.compute.util | 
|---|
| Methods in org.jclouds.compute.util that return Statement | |
|---|---|
| static Statement | ComputeServiceUtils.execHttpResponse(HttpRequest request)build a shell script that invokes the contents of the http request in bash. | 
| static Statement | ComputeServiceUtils.execHttpResponse(URI location) | 
| static Statement | ComputeServiceUtils.extractTargzIntoDirectory(HttpRequest targz,
                          String directory)build a shell script that invokes the contents of the http request in bash. | 
| static Statement | ComputeServiceUtils.extractTargzIntoDirectory(URI targz,
                          String directory) | 
| static Statement | ComputeServiceUtils.extractZipIntoDirectory(HttpRequest zip,
                        String directory)build a shell script that invokes the contents of the http request in bash. | 
| static Statement | ComputeServiceUtils.extractZipIntoDirectory(URI zip,
                        String directory) | 
| Uses of Statement in org.jclouds.ec2.compute.options | 
|---|
| Methods in org.jclouds.ec2.compute.options with parameters of type Statement | |
|---|---|
|  EC2TemplateOptions | EC2TemplateOptions.runScript(Statement script)This script will be executed as the root user upon system startup. | 
| Uses of Statement in org.jclouds.scriptbuilder | 
|---|
| Classes in org.jclouds.scriptbuilder that implement Statement | |
|---|---|
|  class | InitBuilderCreates an init script file | 
|  class | ScriptBuilderCreates 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 | AppendFileCreates a run script | 
|  class | AuthorizeRSAPublicKeyDeprecated. | 
|  class | CallStatement used in a shell script | 
|  class | CreateFileCreates a run script | 
|  class | CreateOrOverwriteFileCreates a run script | 
|  class | CreateRunScriptCreates a run script | 
| static class | CreateRunScript.AddExportToFile | 
| static class | CreateRunScript.AddTitleToFile | 
|  class | InterpretableStatementStatement used in a shell script | 
|  class | KillStatement used in a shell script | 
|  class | PipeHttpResponseToPipes the content of the http response to a shell command that accepts input from stdin | 
|  class | PipeHttpResponseToBashPipes the content of the http response to bash | 
|  class | PipeHttpResponseToTarxpzfIntoDirectoryPipes the content of the http response to tar -xpzf | 
|  class | SaveHttpResponseTosaves the content of the http response to a file | 
|  class | StatementListStatements used in a shell script | 
|  class | SwitchArgStatement used in a shell script | 
|  class | UnzipHttpResponseIntoDirectoryunzips 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.appendFile(String path,
           Iterable<String> lines,
           String marker) | 
| protected  Statement | AppendFile.appendToFile(String line,
             String path,
             OsFamily family) | 
| static Statement | Statements.call(String function,
     String... args) | 
| static Statement | Statements.createOrOverwriteFile(String path,
                      Iterable<String> lines) | 
| static Statement | Statements.createOrOverwriteFile(String path,
                      Iterable<String> lines,
                      String marker) | 
| 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_PIDif 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 lfto be portable | 
| static Statement | Statements.kill()Kills the pid and subprocesses related to the variable FOUND_PIDif 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) | 
|  void | AdminAccessVisitor.visit(Statement input) | 
|  void | StatementVisitor.visit(Statement in) | 
| Method parameters in org.jclouds.scriptbuilder.domain with type arguments of type Statement | |
|---|---|
| static CreateRunScript | 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. | |
| Uses of Statement in org.jclouds.scriptbuilder.functions | 
|---|
| Methods in org.jclouds.scriptbuilder.functions with parameters of type Statement | |
|---|---|
|  Credentials | CredentialsFromAdminAccess.apply(Statement input) | 
| Uses of Statement in org.jclouds.scriptbuilder.statements.login | 
|---|
| Classes in org.jclouds.scriptbuilder.statements.login that implement Statement | |
|---|---|
|  class | AdminAccessControls the administrative access to a node. | 
|  class | ReplaceShadowPasswordEntryReplaces the password entry for a user in the shadow file, using SHA-512 crypt syntax. | 
|  class | ReplaceShadowPasswordEntryOfLoginUser | 
|  class | SudoersControl /etc/sudoers | 
|  class | UserAdd | 
| Methods in org.jclouds.scriptbuilder.statements.login that return Statement | |
|---|---|
| static Statement | SudoStatements.createWheel()create new sudoers file with the wheel group authorized to all commands without a password | 
| Uses of Statement in org.jclouds.scriptbuilder.statements.ssh | 
|---|
| Classes in org.jclouds.scriptbuilder.statements.ssh that implement Statement | |
|---|---|
|  class | AuthorizeRSAPublicKeys | 
|  class | InstallRSAPrivateKey | 
|  class | SshdConfigControl sshd_config | 
| Methods in org.jclouds.scriptbuilder.statements.ssh that return Statement | |
|---|---|
| static Statement | SshStatements.lockSshd()lock sshd down so root cannot login, and password auth is disabled, | 
| static Statement | SshStatements.sshdConfig(Map<String,String> params) | 
| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||