Stay organized with collections
Save and categorize content based on your preferences.
ExtendedFile
public
class
ExtendedFile
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.config.remote.ExtendedFile
|
A extension of standard file to carry a build related metadata.
Summary
Public constructors |
ExtendedFile(File file, String buildId, String buildTarget)
|
ExtendedFile(File file, String buildId, String buildTarget, String branch)
|
ExtendedFile(File file, String buildId, String buildTarget, String branch, String remoteFilePath)
|
Public constructors
ExtendedFile
public ExtendedFile (File file,
String buildId,
String buildTarget)
Parameters |
file |
File |
buildId |
String |
buildTarget |
String |
ExtendedFile
public ExtendedFile (File file,
String buildId,
String buildTarget,
String branch)
Parameters |
file |
File |
buildId |
String |
buildTarget |
String |
branch |
String |
ExtendedFile
public ExtendedFile (File file,
String buildId,
String buildTarget,
String branch,
String remoteFilePath)
Parameters |
file |
File |
buildId |
String |
buildTarget |
String |
branch |
String |
remoteFilePath |
String |
Public methods
cancelDownload
public void cancelDownload ()
getBranch
public String getBranch ()
Returns the branch metadata.
getBuildId
public String getBuildId ()
Returns the buildid metadata.
getBuildTarget
public String getBuildTarget ()
Returns the target metadata.
getRemoteFilePath
public String getRemoteFilePath ()
Returns the remote file path metadata.
isDoneDownloadingInParallel
public boolean isDoneDownloadingInParallel ()
isDownloadingInParallel
public boolean isDownloadingInParallel ()
setDownloadFuture
public void setDownloadFuture (ExecutorService serviceUsed,
download)
Parameters |
serviceUsed |
ExecutorService |
download |
|
setDownloadFuture
public void setDownloadFuture ( download)
waitForDownload
public void waitForDownload ()
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-07-02 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-07-02 UTC."],[],[]]