org.jclouds.scriptbuilder.util
Class Utils.VariableNameForOsFamily

java.lang.Object
  extended by org.jclouds.scriptbuilder.util.Utils.VariableNameForOsFamily
All Implemented Interfaces:
com.google.common.base.Function<String,String>
Enclosing class:
Utils

public static final class Utils.VariableNameForOsFamily
extends Object
implements com.google.common.base.Function<String,String>

In ShellToken, the values whose names end in _VARIABLE designate variable names we know how to translate from one platform to another. For example ShellToken.LIBRARY_PATH_VARIABLE means that we can translate the variable named LIBRARY_PATH to the proper platform-specific name.


Constructor Summary
Utils.VariableNameForOsFamily(OsFamily family)
           
 
Method Summary
 String apply(String input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

Utils.VariableNameForOsFamily

public Utils.VariableNameForOsFamily(OsFamily family)
Method Detail

apply

public String apply(String input)
Specified by:
apply in interface com.google.common.base.Function<String,String>


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.