Uses of Interface
org.jclouds.scriptbuilder.domain.Statement
- 
- 
Uses of Statement in org.jclouds.aws.ec2.compute
Methods in org.jclouds.aws.ec2.compute with parameters of type Statement Modifier and Type Method Description AWSEC2TemplateOptionsAWSEC2TemplateOptions. runScript(Statement script)This script will be executed as the root user upon system startup. - 
Uses of Statement in org.jclouds.chef
Methods in org.jclouds.chef that return Statement Modifier and Type Method Description StatementChefService. createBootstrapScriptForGroup(String group)Creates all steps necessary to bootstrap the node.StatementChefService. createBootstrapScriptForGroup(String group, String nodeName)Creates all steps necessary to bootstrap the node. - 
Uses of Statement in org.jclouds.chef.functions
Methods in org.jclouds.chef.functions that return Statement Modifier and Type Method Description StatementGroupToBootScript. apply(String group, String nodeName) - 
Uses of Statement in org.jclouds.chef.internal
Methods in org.jclouds.chef.internal that return Statement Modifier and Type Method Description StatementBaseChefService. createBootstrapScriptForGroup(String group)StatementBaseChefService. createBootstrapScriptForGroup(String group, String nodeName) - 
Uses of Statement in org.jclouds.cloudstack.compute.options
Methods in org.jclouds.cloudstack.compute.options with parameters of type Statement Modifier and Type Method Description CloudStackTemplateOptionsCloudStackTemplateOptions. 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 Modifier and Type Method Description StatementRunScriptOnNodesException. getRunScript()Methods in org.jclouds.compute with parameters of type Statement Modifier and Type Method Description ExecResponseComputeService. runScriptOnNode(String id, Statement runScript)ExecResponseComputeService. runScriptOnNode(String id, Statement runScript, RunScriptOptions options)Run the script on a specific nodeMap<? extends NodeMetadata,ExecResponse>ComputeService. runScriptOnNodesMatching(com.google.common.base.Predicate<? super NodeMetadata> filter, Statement runScript)Map<? extends NodeMetadata,ExecResponse>ComputeService. runScriptOnNodesMatching(com.google.common.base.Predicate<? super 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)Constructors in org.jclouds.compute with parameters of type Statement Constructor Description 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 Modifier and Type Field Description protected StatementRunScriptOnNodeUsingSsh. statementMethods in org.jclouds.compute.callables that return Statement Modifier and Type Method Description StatementRunScriptOnNode. getStatement()StatementRunScriptOnNodeUsingSsh. getStatement()Methods in org.jclouds.compute.callables with parameters of type Statement Modifier and Type Method Description RunScriptOnNodeRunScriptOnNode.Factory. create(NodeMetadata node, Statement script, RunScriptOptions options)static InitScriptRunScriptOnNodeAsInitScriptUsingSsh. 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 Constructor Description RunScriptOnNodeAsInitScriptUsingSsh(com.google.common.base.Function<NodeMetadata,SshClient> sshFactory, com.google.common.eventbus.EventBus eventBus, InitScriptConfigurationForTasks initScriptConfiguration, NodeMetadata node, Statement script, RunScriptOptions options)RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete(BlockUntilInitScriptStatusIsZeroThenReturnOutput.Factory statusFactory, ComputeServiceConstants.Timeouts timeouts, com.google.common.base.Function<NodeMetadata,SshClient> sshFactory, com.google.common.eventbus.EventBus eventBus, InitScriptConfigurationForTasks initScriptConfiguration, NodeMetadata node, Statement script, RunScriptOptions options)RunScriptOnNodeUsingSsh(com.google.common.base.Function<NodeMetadata,SshClient> sshFactory, com.google.common.eventbus.EventBus eventBus, NodeMetadata node, Statement statement, RunScriptOptions options) - 
Uses of Statement in org.jclouds.compute.config
Methods in org.jclouds.compute.config with parameters of type Statement Modifier and Type Method Description RunScriptOnNodeBaseComputeServiceContextModule.RunScriptOnNodeFactoryImpl. create(NodeMetadata node, Statement runScript, RunScriptOptions options)BlockUntilInitScriptStatusIsZeroThenReturnOutputBaseComputeServiceContextModule.RunScriptOnNodeFactoryImpl. submit(NodeMetadata node, Statement script, RunScriptOptions options) - 
Uses of Statement in org.jclouds.compute.events
Fields in org.jclouds.compute.events declared as Statement Modifier and Type Field Description protected StatementStatementOnNode. statementMethods in org.jclouds.compute.events that return Statement Modifier and Type Method Description StatementStatementOnNode. getStatement()Constructors in org.jclouds.compute.events with parameters of type Statement Constructor Description StatementOnNode(Statement statement, NodeMetadata node)StatementOnNodeCompletion(Statement statement, NodeMetadata node, ExecResponse response)StatementOnNodeFailure(Statement statement, NodeMetadata node, Throwable cause)StatementOnNodeSubmission(Statement statement, NodeMetadata node) - 
Uses of Statement in org.jclouds.compute.functions
Methods in org.jclouds.compute.functions that return Statement Modifier and Type Method Description StatementInstallKeysAndRunScript. apply(NodeMetadata node, TemplateOptions options)StatementNodeAndTemplateOptionsToStatement. apply(NodeMetadata node, TemplateOptions options)Returns the script that has to be executed in the given node.StatementNodeAndTemplateOptionsToStatementWithoutPublicKey. apply(NodeMetadata node, TemplateOptions options) - 
Uses of Statement in org.jclouds.compute.internal
Methods in org.jclouds.compute.internal with parameters of type Statement Modifier and Type Method Description com.google.common.base.Function<NodeMetadata,NodeMetadata>PersistNodeCredentials. always(Statement statement)com.google.common.base.Function<NodeMetadata,NodeMetadata>PersistNodeCredentials. ifAdminAccess(Statement statement)ExecResponseBaseComputeService. runScriptOnNode(String id, Statement runScript)ExecResponseBaseComputeService. runScriptOnNode(String id, Statement runScript, RunScriptOptions options)Run the script on a specific nodeMap<NodeMetadata,ExecResponse>BaseComputeService. runScriptOnNodesMatching(com.google.common.base.Predicate<? super NodeMetadata> filter, Statement runScript)Map<NodeMetadata,ExecResponse>BaseComputeService. runScriptOnNodesMatching(com.google.common.base.Predicate<? super 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) - 
Uses of Statement in org.jclouds.compute.options
Fields in org.jclouds.compute.options declared as Statement Modifier and Type Field Description protected StatementTemplateOptions. scriptMethods in org.jclouds.compute.options that return Statement Modifier and Type Method Description StatementTemplateOptions. getRunScript()StatementTemplateOptions.ImmutableTemplateOptions. getRunScript()Methods in org.jclouds.compute.options with parameters of type Statement Modifier and Type Method Description static TemplateOptionsTemplateOptions.Builder. runScript(Statement script)TemplateOptionsTemplateOptions.ImmutableTemplateOptions. runScript(Statement script)unsupported as objects of this class are immutableTemplateOptionsTemplateOptions. runScript(Statement script)This script will be executed as the root user upon system startup. - 
Uses of Statement in org.jclouds.compute.strategy
Methods in org.jclouds.compute.strategy with parameters of type Statement Modifier and Type Method Description 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 Modifier and Type Method Description static StatementComputeServiceUtils. execHttpResponse(URI location)static StatementComputeServiceUtils. execHttpResponse(HttpRequest request)build a shell script that invokes the contents of the http request in bash.static StatementComputeServiceUtils. extractTargzIntoDirectory(URI targz, String directory)static StatementComputeServiceUtils. extractTargzIntoDirectory(HttpRequest targz, String directory)build a shell script that invokes the contents of the http request in bash.static StatementComputeServiceUtils. extractZipIntoDirectory(URI zip, String directory)static StatementComputeServiceUtils. extractZipIntoDirectory(HttpRequest zip, String directory)build a shell script that invokes the contents of the http request in bash. - 
Uses of Statement in org.jclouds.docker.compute.options
Methods in org.jclouds.docker.compute.options with parameters of type Statement Modifier and Type Method Description DockerTemplateOptionsDockerTemplateOptions. runScript(Statement script)This script will be executed as the root user upon system startup. - 
Uses of Statement in org.jclouds.ec2.compute.options
Methods in org.jclouds.ec2.compute.options with parameters of type Statement Modifier and Type Method Description static EC2TemplateOptionsEC2TemplateOptions.Builder. runScript(Statement script)EC2TemplateOptionsEC2TemplateOptions. runScript(Statement script)This script will be executed as the root user upon system startup. - 
Uses of Statement in org.jclouds.googlecomputeengine.compute.options
Methods in org.jclouds.googlecomputeengine.compute.options with parameters of type Statement Modifier and Type Method Description GoogleComputeEngineTemplateOptionsGoogleComputeEngineTemplateOptions. runScript(Statement script)This script will be executed as the root user upon system startup. - 
Uses of Statement in org.jclouds.openstack.nova.v2_0.compute.options
Methods in org.jclouds.openstack.nova.v2_0.compute.options with parameters of type Statement Modifier and Type Method Description NovaTemplateOptionsNovaTemplateOptions. 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 Modifier and Type Class Description classExitInsteadOfReturnyou cannot return from a top-level script, so if you are using snippets that issuereturnthen you'll want to wrap them in this.classInitScriptCreates an init script fileclassScriptBuilderCreates a shell script.Methods in org.jclouds.scriptbuilder that return Statement Modifier and Type Method Description static StatementScriptBuilder. call(String fn, String... args)protected StatementExitInsteadOfReturn. delegate()static StatementScriptBuilder. findPid(String pid)static StatementScriptBuilder. forget(String instanceName, String script, String logDir)Methods in org.jclouds.scriptbuilder with parameters of type Statement Modifier and Type Method Description ScriptBuilderScriptBuilder. addStatement(Statement statement)InitScript.BuilderInitScript.Builder. init(Statement init)InitScript.BuilderInitScript.Builder. init(Statement... init)InitScript.BuilderInitScript.Builder. run(Statement run)InitScript.BuilderInitScript.Builder. run(Statement... run)Method parameters in org.jclouds.scriptbuilder with type arguments of type Statement Modifier and Type Method Description InitScript.BuilderInitScript.Builder. init(Iterable<Statement> init)static Map<String,String>ScriptBuilder. resolveFunctionDependenciesForStatements(Map<String,String> knownFunctions, Iterable<Statement> statements, OsFamily osFamily)InitScript.BuilderInitScript.Builder. run(Iterable<Statement> run)Constructors in org.jclouds.scriptbuilder with parameters of type Statement Constructor Description ExitInsteadOfReturn(Statement delegate) - 
Uses of Statement in org.jclouds.scriptbuilder.domain
Classes in org.jclouds.scriptbuilder.domain that implement Statement Modifier and Type Class Description classAppendFileCreates a run scriptclassCallStatement used in a shell scriptclassCreateOrOverwriteFileCreates a run scriptclassCreateRunScriptCreates a run scriptstatic classCreateRunScript.AddExportclassInterpretableStatementStatement used in a shell scriptclassKillStatement used in a shell scriptclassLiteralStatementStatement used in a shell script without modifications apart from a trailing newline.classPipeHttpResponseToPipes the content of the http response to a shell command that accepts input from stdinclassPipeHttpResponseToBashPipes the content of the http response to bashclassPipeHttpResponseToTarxpzfIntoDirectoryPipes the content of the http response to tar -xpzfclassSaveHttpResponseTosaves the content of the http response to a fileclassStatementListStatements used in a shell scriptclassSwitchArgStatement used in a shell scriptclassUnzipHttpResponseIntoDirectoryunzips the content into a directoryFields in org.jclouds.scriptbuilder.domain with type parameters of type Statement Modifier and Type Field Description List<Statement>StatementList. statementsMethods in org.jclouds.scriptbuilder.domain that return Statement Modifier and Type Method Description static StatementStatements. appendFile(String path, Iterable<String> lines)static StatementStatements. appendFile(String path, Iterable<String> lines, String delimiter)static StatementStatements. appendFile(String path, String line, String delimiter)static StatementStatements. call(String function, String... args)static StatementStatements. createOrOverwriteFile(String path, Iterable<String> lines)static StatementStatements. createOrOverwriteFile(String path, Iterable<String> lines, String delimiter)static StatementStatements. exec(String portableStatement)interprets and adds a newline to the statementstatic StatementStatements. extractTargzAndFlattenIntoDirectory(URI tgz, String dest)likeStatements.extractTargzIntoDirectory(URI, String)except that it flattens the first directory in the archive For example,apache-maven-3.0.4-bin.tar.gznormally extracts directories like./apache-maven-3.0.4/bin.static StatementStatements. 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 StatementStatements. extractTargzIntoDirectory(URI targz, String directory)static StatementStatements. extractZipIntoDirectory(String method, URI endpoint, com.google.common.collect.Multimap<String,String> headers, String directory)unzip the data received from the request parameters.static StatementStatements. findPid(String args)Stores the pid into the variableFOUND_PIDif successful.static StatementStatements. forget(String instanceName, String script, String logDir)Runs the script in a way that it can be matched later withStatements.findPid(java.lang.String)static StatementStatements. interpret(String... portableStatements)statement can have multiple newlines, note you should uselfto be portablestatic StatementStatements. kill()Kills the pid and subprocesses related to the variableFOUND_PIDif set.static StatementStatements. literal(String literalStatement)sends statement only appending a newlinestatic StatementStatements. newStatementList(Statement... statements)static StatementStatements. pipeHttpResponseToBash(String method, URI endpoint, com.google.common.collect.Multimap<String,String> headers)exec the data received from the request parameters.static StatementStatements. rm(String path)static StatementStatements. saveHttpResponseTo(URI source, String dir, String file)static StatementStatements. switchArg(int arg, Map<String,Statement> valueToActions)Methods in org.jclouds.scriptbuilder.domain that return types with arguments of type Statement Modifier and Type Method Description List<Statement>StatementList. delegate()Methods in org.jclouds.scriptbuilder.domain with parameters of type Statement Modifier and Type Method Description static StatementStatements. newStatementList(Statement... statements)voidAdminAccessVisitor. visit(Statement input)voidStatementVisitor. visit(Statement in)Method parameters in org.jclouds.scriptbuilder.domain with type arguments of type Statement Modifier and Type Method Description static StatementStatements. switchArg(int arg, Map<String,Statement> valueToActions)Constructors in org.jclouds.scriptbuilder.domain with parameters of type Statement Constructor Description 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 Constructor Description StatementList(Iterable<Statement> statements)SwitchArg(int arg, Map<String,Statement> valueToActions)Generates a switch statement based onarg. - 
Uses of Statement in org.jclouds.scriptbuilder.functions
Methods in org.jclouds.scriptbuilder.functions with parameters of type Statement Modifier and Type Method Description CredentialsCredentialsFromAdminAccess. apply(Statement input) - 
Uses of Statement in org.jclouds.scriptbuilder.statements.chef
Classes in org.jclouds.scriptbuilder.statements.chef that implement Statement Modifier and Type Class Description classChefSoloBootstraps a node using Chef Solo.classInstallChefGemsInstalls Chef gems onto a host.classInstallChefUsingOmnibusInstalls the Chef client using the Omnibus installer. - 
Uses of Statement in org.jclouds.scriptbuilder.statements.git
Classes in org.jclouds.scriptbuilder.statements.git that implement Statement Modifier and Type Class Description classCloneGitRepoClones a gitRepoAndRef into a newly created directory, creates remote-tracking branches for each branch in the cloned gitRepoAndRef (visible using git branch -r), and creates and checks out an initial branch that is forked from the cloned gitRepoAndRef's currently active branch.classInstallGitInstalls git onto a host - 
Uses of Statement in org.jclouds.scriptbuilder.statements.java
Classes in org.jclouds.scriptbuilder.statements.java that implement Statement Modifier and Type Class Description static classInstallJDK.FromOpenJDKstatic classInstallJDK.FromURLMethods in org.jclouds.scriptbuilder.statements.java that return Statement Modifier and Type Method Description static StatementInstallJDK. fromOpenJDK()static StatementInstallJDK. fromURL(URI url) - 
Uses of Statement in org.jclouds.scriptbuilder.statements.login
Classes in org.jclouds.scriptbuilder.statements.login that implement Statement Modifier and Type Class Description classAdminAccessControls the administrative access to a node.classReplaceShadowPasswordEntryReplaces the password entry for a user in the shadow file, using SHA-512 crypt syntax.classReplaceShadowPasswordEntryOfLoginUserclassSudoersControl /etc/sudoersclassUserAddCreates a statement that will add a given user to a machine ("login"), with optional password, groups, private key, and authorized keys.Methods in org.jclouds.scriptbuilder.statements.login that return Statement Modifier and Type Method Description static StatementSudoStatements. createWheel()create new sudoers file with the wheel group authorized to all commands without a password - 
Uses of Statement in org.jclouds.scriptbuilder.statements.ruby
Classes in org.jclouds.scriptbuilder.statements.ruby that implement Statement Modifier and Type Class Description classInstallRubyInstalls Ruby onto a host.classInstallRubyGemsInstalls RubyGems onto a host. - 
Uses of Statement in org.jclouds.scriptbuilder.statements.ssh
Classes in org.jclouds.scriptbuilder.statements.ssh that implement Statement Modifier and Type Class Description classAuthorizeRSAPublicKeysclassInstallRSAPrivateKeyclassSshdConfigControl sshd_configMethods in org.jclouds.scriptbuilder.statements.ssh that return Statement Modifier and Type Method Description static StatementSshStatements. lockSshd()lock sshd down so root cannot login, and password auth is disabled,static StatementSshStatements. sshdConfig(Map<String,String> params) - 
Uses of Statement in org.jclouds.softlayer.compute.options
Methods in org.jclouds.softlayer.compute.options with parameters of type Statement Modifier and Type Method Description SoftLayerTemplateOptionsSoftLayerTemplateOptions. runScript(Statement script)This script will be executed as the root user upon system startup. 
 -