Stay organized with collections
Save and categorize content based on your preferences.
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 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. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-08-13 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-13 UTC."],[],[]]