public class

AppBuildInfo

extends BuildInfo
implements IAppBuildInfo
java.lang.Object
   ↳ com.android.tradefed.build.BuildInfo
     ↳ com.android.tradefed.build.AppBuildInfo

Class Overview

A IBuildInfo that represents an Android application and its test package(s).

Summary

[Expand]
Inherited Constants
From interface com.android.tradefed.build.IBuildInfo
Public Constructors
AppBuildInfo(String buildId, String testTarget, String buildName)
Creates a AppBuildInfo.
AppBuildInfo(BuildInfo buildToCopy)
Public Methods
void addAppPackageFile(File appPackageFile, String version)
Adds the local apk file and its associated version
void cleanUp()
Removes all temporary files
IBuildInfo clone()
List<VersionedFile> getAppPackageFiles()
Gets a copy of the set of local app apk file(s) and their versions.
[Expand]
Inherited Methods
From class com.android.tradefed.build.BuildInfo
From class java.lang.Object
From interface com.android.tradefed.build.IAppBuildInfo
From interface com.android.tradefed.build.IBuildInfo

Public Constructors

public AppBuildInfo (String buildId, String testTarget, String buildName)

Creates a AppBuildInfo.

Parameters
buildId the unique build id
testTarget the test target name
buildName the build name

Public Methods

public void addAppPackageFile (File appPackageFile, String version)

Adds the local apk file and its associated version

public void cleanUp ()

Removes all temporary files

public IBuildInfo clone ()

public List<VersionedFile> getAppPackageFiles ()

Gets a copy of the set of local app apk file(s) and their versions.