| Modifier and Type | Method and Description | 
|---|---|
| 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) | 
| Iterable<String> | InitScript. functionDependencies(OsFamily family) | 
| Iterable<String> | ExitInsteadOfReturn. functionDependencies(OsFamily family) | 
| String | ScriptBuilder. render(OsFamily osFamily)builds the shell script, by adding the following
 
 shell declaration line
 variable exports
 case/switch
  | 
| String | InitScript. render(OsFamily family) | 
| String | ExitInsteadOfReturn. render(OsFamily family) | 
| static Map<String,String> | ScriptBuilder. resolveFunctionDependenciesForStatements(Map<String,String> knownFunctions,
                                        Iterable<Statement> statements,
                                        OsFamily osFamily) | 
| static void | ScriptBuilder. writeFunctions(Map<String,String> functionsToWrite,
              OsFamily osFamily,
              StringBuilder builder) | 
| Modifier and Type | Field and Description | 
|---|---|
| static Map<OsFamily,String> | Call. OS_TO_CALL | 
| static Map<OsFamily,String> | SwitchArg. OS_TO_CASE_PATTERN | 
| static Map<OsFamily,String> | SwitchArg. OS_TO_END_SWITCH_PATTERN | 
| static Map<OsFamily,String> | CreateRunScript.AddExport. OS_TO_EXPORT_PATTERN | 
| static Map<OsFamily,String> | Kill. OS_TO_KILL | 
| static Map<OsFamily,String> | SwitchArg. OS_TO_SWITCH_PATTERN | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | FunctionLoader. loadFunction(String function,
            OsFamily family)Loads a function and returns it as  String. | 
| String | BasicFunctionLoader. loadFunction(String function,
            OsFamily family)Loads a function from the classpath using the current or the Thread Context Class Loader. | 
| Constructor and Description | 
|---|
| FunctionNotFoundException(String functionName,
                         OsFamily family) | 
| FunctionNotFoundException(String functionName,
                         OsFamily family,
                         Throwable cause) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | LicenseHeaderFilter. filter(String lines,
      OsFamily family)Filters out license header comments from a file. | 
| String | LicenseHeaderFilter. loadFunction(String function,
            OsFamily family) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | ServiceFunctionLoader. loadFunction(String function,
            OsFamily family)Looks up the service registry for an applicable  FunctionLoaderand delegates to it. | 
| String | BundleFunctionLoader. loadFunction(String function,
            OsFamily family)Loads the function from the  Bundleresources. | 
| Modifier and Type | Method and Description | 
|---|---|
| Iterable<String> | InstallChefGems. functionDependencies(OsFamily family) | 
| Iterable<String> | ChefSolo. functionDependencies(OsFamily family) | 
| String | InstallChefGems. render(OsFamily family) | 
| String | ChefSolo. render(OsFamily family) | 
| Modifier and Type | Method and Description | 
|---|---|
| Iterable<String> | CloneGitRepo. functionDependencies(OsFamily arg0) | 
| String | CloneGitRepo. render(OsFamily arg0) | 
| Modifier and Type | Method and Description | 
|---|---|
| Iterable<String> | UserAdd. functionDependencies(OsFamily family) | 
| Iterable<String> | Sudoers. functionDependencies(OsFamily family) | 
| Iterable<String> | ReplaceShadowPasswordEntry. functionDependencies(OsFamily family) | 
| Iterable<String> | AdminAccess. functionDependencies(OsFamily family) | 
| String | UserAdd. render(OsFamily family) | 
| String | Sudoers. render(OsFamily family) | 
| String | ReplaceShadowPasswordEntry. render(OsFamily family) | 
| String | AdminAccess. render(OsFamily family) | 
| Modifier and Type | Method and Description | 
|---|---|
| Iterable<String> | InstallRubyGems. functionDependencies(OsFamily family) | 
| String | InstallRubyGems. render(OsFamily family) | 
| String | InstallRuby. render(OsFamily family) | 
| Modifier and Type | Method and Description | 
|---|---|
| Iterable<String> | SshdConfig. functionDependencies(OsFamily family) | 
| Iterable<String> | InstallRSAPrivateKey. functionDependencies(OsFamily family) | 
| Iterable<String> | AuthorizeRSAPublicKeys. functionDependencies(OsFamily family) | 
| String | SshdConfig. render(OsFamily family) | 
| String | InstallRSAPrivateKey. render(OsFamily family) | 
| String | AuthorizeRSAPublicKeys. render(OsFamily family) | 
| Modifier and Type | Field and Description | 
|---|---|
| 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 | 
| Modifier and Type | Method and Description | 
|---|---|
| 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(Iterable<String> positionalVariables,
                   OsFamily family)Writes an initialization statement for use inside a script or a function. | 
| static String | Utils. writeUnsetVariables(Iterable<String> variablesToUnset,
                   OsFamily family)Ensures that variables come from a known source instead of bleeding in from a profile | 
| static String | Utils. writeVariableExporters(Map<String,String> exports,
                      OsFamily family)converts a map into variable exports relevant to the specified platform. | 
| static String | Utils. writeZeroPath(OsFamily family) | 
| Constructor and Description | 
|---|
| Utils.VariableNameForOsFamily(OsFamily family) | 
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.