Uses of Class
org.jclouds.scriptbuilder.domain.OsFamily

Packages that use OsFamily
org.jclouds.scriptbuilder   
org.jclouds.scriptbuilder.domain   
org.jclouds.scriptbuilder.statements.login   
org.jclouds.scriptbuilder.statements.ssh   
org.jclouds.scriptbuilder.util   
 

Uses of OsFamily in org.jclouds.scriptbuilder
 

Methods in org.jclouds.scriptbuilder with parameters of type OsFamily
 String EnvBuilder.build(OsFamily osFamily)
          builds the environment file, by adding the following example usage variable exports return statement
 Iterable<String> ScriptBuilder.functionDependencies(OsFamily family)
           
 String ScriptBuilder.render(OsFamily osFamily)
          builds the shell script, by adding the following shell declaration line variable exports case/switch
 

Uses of OsFamily in org.jclouds.scriptbuilder.domain
 

Fields in org.jclouds.scriptbuilder.domain with type parameters of type OsFamily
static Map<OsFamily,String> Call.OS_TO_CALL
           
static Map<OsFamily,String> SwitchArg.OS_TO_CASE_PATTERN
           
static Map<OsFamily,String> CreateRunScript.OS_TO_CHMOD_PATTERN
           
static Map<OsFamily,String> SwitchArg.OS_TO_END_SWITCH_PATTERN
           
static Map<OsFamily,String> CreateRunScript.AddExportToFile.OS_TO_EXPORT_PATTERN
           
static Map<OsFamily,String> Kill.OS_TO_KILL
           
static Map<OsFamily,String> SwitchArg.OS_TO_SWITCH_PATTERN
           
static Map<OsFamily,String> CreateRunScript.AddTitleToFile.OS_TO_TITLE_PATTERN
           
 

Methods in org.jclouds.scriptbuilder.domain that return OsFamily
static OsFamily OsFamily.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OsFamily[] OsFamily.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in org.jclouds.scriptbuilder.domain with parameters of type OsFamily
protected  Statement AppendFile.appendToFile(String line, String path, OsFamily family)
           
static String CreateFile.escapeVarTokens(String toEscape, OsFamily family)
           
static String AppendFile.escapeVarTokens(String toEscape, OsFamily family)
           
static String CreateRunScript.escapeVarTokens(String toEscape, OsFamily family)
           
 Iterable<String> Call.functionDependencies(OsFamily family)
           
 Iterable<String> CreateFile.functionDependencies(OsFamily family)
           
 Iterable<String> InterpretableStatement.functionDependencies(OsFamily family)
           
 Iterable<String> SwitchArg.functionDependencies(OsFamily family)
           
 Iterable<String> AppendFile.functionDependencies(OsFamily family)
           
 Iterable<String> Kill.functionDependencies(OsFamily family)
           
 Iterable<String> CreateRunScript.functionDependencies(OsFamily family)
           
 Iterable<String> CreateRunScript.AddTitleToFile.functionDependencies(OsFamily family)
           
 Iterable<String> CreateRunScript.AddExportToFile.functionDependencies(OsFamily family)
           
 Iterable<String> StatementList.functionDependencies(OsFamily family)
           
 Iterable<String> Statement.functionDependencies(OsFamily family)
           
 String PipeHttpResponseTo.render(OsFamily family)
           
 String CreateOrOverwriteFile.render(OsFamily family)
           
 String Call.render(OsFamily family)
           
 String CreateFile.render(OsFamily family)
           
 String InterpretableStatement.render(OsFamily family)
           
 String SwitchArg.render(OsFamily family)
           
 String AppendFile.render(OsFamily family)
           
 String Kill.render(OsFamily family)
           
 String CreateRunScript.render(OsFamily family)
           
 String CreateRunScript.AddTitleToFile.render(OsFamily family)
           
 String CreateRunScript.AddExportToFile.render(OsFamily family)
           
 String StatementList.render(OsFamily family)
           
 String Statement.render(OsFamily family)
           
 String ShellToken.to(OsFamily family)
           
static Map<String,String> ShellToken.tokenValueMap(OsFamily family)
           
 

Uses of OsFamily in org.jclouds.scriptbuilder.statements.login
 

Methods in org.jclouds.scriptbuilder.statements.login with parameters of type OsFamily
 Iterable<String> UserAdd.functionDependencies(OsFamily family)
           
 Iterable<String> ReplaceShadowPasswordEntry.functionDependencies(OsFamily family)
           
 Iterable<String> Sudoers.functionDependencies(OsFamily family)
           
 Iterable<String> AdminAccess.functionDependencies(OsFamily family)
           
 String UserAdd.render(OsFamily family)
           
 String ReplaceShadowPasswordEntry.render(OsFamily family)
           
 String Sudoers.render(OsFamily family)
           
 String AdminAccess.render(OsFamily family)
           
 

Uses of OsFamily in org.jclouds.scriptbuilder.statements.ssh
 

Methods in org.jclouds.scriptbuilder.statements.ssh with parameters of type OsFamily
 Iterable<String> SshdConfig.functionDependencies(OsFamily family)
           
 Iterable<String> AuthorizeRSAPublicKeys.functionDependencies(OsFamily family)
           
 Iterable<String> InstallRSAPrivateKey.functionDependencies(OsFamily family)
           
 String SshdConfig.render(OsFamily family)
           
 String AuthorizeRSAPublicKeys.render(OsFamily family)
           
 String InstallRSAPrivateKey.render(OsFamily family)
           
 

Uses of OsFamily in org.jclouds.scriptbuilder.util
 

Fields in org.jclouds.scriptbuilder.util with type parameters of type OsFamily
static Map<OsFamily,String> Utils.OS_TO_LOCAL_VAR_PATTERN
           
static Map<OsFamily,String> Utils.OS_TO_POSITIONAL_VAR_PATTERN
           
static Map<OsFamily,String> Utils.OS_TO_ZERO_PATH
           
 

Methods in org.jclouds.scriptbuilder.util with parameters of type OsFamily
static String Utils.writeComment(String comment, OsFamily family)
           
static String Utils.writeFunction(String function, String source, OsFamily family)
           
static String Utils.writeFunctionFromResource(String function, OsFamily family)
           
static String Utils.writePositionalVars(List<String> positionalVariablesInLowerCamelCase, OsFamily family)
          Writes an initialization statement for use inside a script or a function.
static String Utils.writeUnsetVariables(List<String> variablesInLowerCamelCase, OsFamily family)
          Ensures that variables come from a known source instead of bleeding in from a profile
static String Utils.writeVariableExporters(Map<String,String> variablesInLowerCamelCase, OsFamily family)
          converts a map into variable exports relevant to the specified platform.
static String Utils.writeZeroPath(OsFamily family)
           
 

Constructors in org.jclouds.scriptbuilder.util with parameters of type OsFamily
Utils.FunctionNotFoundException(String functionName, OsFamily family)
           
Utils.FunctionNotFoundException(String functionName, OsFamily family, Throwable cause)
           
 



Copyright © 2009-2011 jclouds. All Rights Reserved.