Uses of Interface
org.jclouds.scriptbuilder.domain.Statement
Packages that use Statement
Package
Description
-
Uses of Statement in org.jclouds.scriptbuilder
Classes in org.jclouds.scriptbuilder that implement StatementModifier and TypeClassDescriptionclassyou cannot return from a top-level script, so if you are using snippets that issuereturnthen you'll want to wrap them in this.classCreates an init script fileclassCreates a shell script.Methods in org.jclouds.scriptbuilder that return StatementModifier and TypeMethodDescriptionstatic Statementprotected StatementExitInsteadOfReturn.delegate()static Statementstatic StatementMethods in org.jclouds.scriptbuilder with parameters of type StatementMethod parameters in org.jclouds.scriptbuilder with type arguments of type StatementModifier and TypeMethodDescriptionScriptBuilder.resolveFunctionDependenciesForStatements(Map<String, String> knownFunctions, Iterable<Statement> statements, OsFamily osFamily) Constructors in org.jclouds.scriptbuilder with parameters of type Statement -
Uses of Statement in org.jclouds.scriptbuilder.domain
Classes in org.jclouds.scriptbuilder.domain that implement StatementModifier and TypeClassDescriptionclassCreates a run scriptclassStatement used in a shell scriptclassCreates a run scriptclassCreates a run scriptstatic classclassStatement used in a shell scriptclassStatement used in a shell scriptclassStatement used in a shell script without modifications apart from a trailing newline.classPipes the content of the http response to a shell command that accepts input from stdinclassPipes the content of the http response to bashclassPipes the content of the http response to tar -xpzfclasssaves the content of the http response to a fileclassStatements used in a shell scriptclassStatement used in a shell scriptclassunzips the content into a directoryFields in org.jclouds.scriptbuilder.domain with type parameters of type StatementMethods in org.jclouds.scriptbuilder.domain that return StatementModifier and TypeMethodDescriptionstatic 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 Statementstatic StatementStatements.createOrOverwriteFile(String path, Iterable<String> lines) static StatementStatements.createOrOverwriteFile(String path, Iterable<String> lines, String delimiter) static Statementinterprets 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 StatementStores the pid into the variableFOUND_PIDif successful.static StatementRuns the script in a way that it can be matched later withStatements.findPid(java.lang.String)static Statementstatement can have multiple newlines, note you should uselfto be portablestatic StatementStatements.kill()Kills the pid and subprocesses related to the variableFOUND_PIDif set.static Statementsends 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 Statementstatic StatementStatements.saveHttpResponseTo(URI source, String dir, String file) static StatementMethods in org.jclouds.scriptbuilder.domain that return types with arguments of type StatementMethods in org.jclouds.scriptbuilder.domain with parameters of type StatementModifier and TypeMethodDescriptionstatic StatementStatements.newStatementList(Statement... statements) voidvoidMethod parameters in org.jclouds.scriptbuilder.domain with type arguments of type StatementConstructors in org.jclouds.scriptbuilder.domain with parameters of type StatementModifierConstructorDescriptionPipeHttpResponseTo(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 -
Uses of Statement in org.jclouds.scriptbuilder.functions
Methods in org.jclouds.scriptbuilder.functions with parameters of type Statement -
Uses of Statement in org.jclouds.scriptbuilder.statements.chef
Classes in org.jclouds.scriptbuilder.statements.chef that implement StatementModifier and TypeClassDescriptionclassBootstraps a node using Chef Solo.classInstalls Chef gems onto a host.classInstalls 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 StatementModifier and TypeClassDescriptionclassClones 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.classInstalls git onto a host -
Uses of Statement in org.jclouds.scriptbuilder.statements.java
Classes in org.jclouds.scriptbuilder.statements.java that implement StatementModifier and TypeClassDescriptionstatic classstatic classMethods in org.jclouds.scriptbuilder.statements.java that return Statement -
Uses of Statement in org.jclouds.scriptbuilder.statements.login
Classes in org.jclouds.scriptbuilder.statements.login that implement StatementModifier and TypeClassDescriptionclassControls the administrative access to a node.classReplaces the password entry for a user in the shadow file, using SHA-512 crypt syntax.classclassControl /etc/sudoersclassCreates 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 StatementModifier and TypeMethodDescriptionstatic 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 StatementModifier and TypeClassDescriptionclassInstalls Ruby onto a host.classInstalls RubyGems onto a host. -
Uses of Statement in org.jclouds.scriptbuilder.statements.ssh
Classes in org.jclouds.scriptbuilder.statements.ssh that implement StatementModifier and TypeClassDescriptionclassclassclassControl sshd_configMethods in org.jclouds.scriptbuilder.statements.ssh that return Statement