EnvironmentVariableUtil

public class EnvironmentVariableUtil
extends Object

java.lang.Object
   ↳ com.android.tradefed.util.EnvironmentVariableUtil


A collection of helper methods to prepare environment variables.

Summary

Public constructors

EnvironmentVariableUtil()

Public methods

static String buildPathWithRelativePaths(File workingDir, tools, String addition)

Builds the value of PATH with relative paths to the workingDir.

Public constructors

EnvironmentVariableUtil

public EnvironmentVariableUtil ()

Public methods

buildPathWithRelativePaths

public static String buildPathWithRelativePaths (File workingDir, 
                 tools, 
                String addition)

Builds the value of PATH with relative paths to the workingDir.

Parameters
workingDir File: The root of the relative paths in the return.

tools : A list of tools that will be linked to a folder named `runtime_deps` under the workingDir and included in the return.

addition String: The String that will be appended to the end of the return.

Returns
String The value of PATH.