IAppBuildInfo

public interface IAppBuildInfo
implements IBuildInfo

com.android.tradefed.build.IAppBuildInfo
Known Indirect Subclasses
AppBuildInfo A IBuildInfo that represents an Android application and its test package(s). 
AppDeviceBuildInfo A IDeviceBuildInfo that also contains a IAppBuildInfo


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

Summary

Public methods

abstract void addAppPackageFile(File appPackageFile, String version)

Adds the local apk file and its associated version.

abstract List<VersionedFile> getAppPackageFiles()

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

Public methods

addAppPackageFile

void addAppPackageFile (File appPackageFile, 
                String version)

Adds the local apk file and its associated version. Note that apks will be returned from getAppPackageFiles() in the order in which they were added by this method.

Parameters
appPackageFile File

version String

getAppPackageFiles

List<VersionedFile> getAppPackageFiles ()

Gets a copy of the set of local app apk file(s) and their versions. The returned order matches the order in which the apks were added to the IAppBuildInfo.

Returns
List<VersionedFile>