IAppBuildInfo

public interface IAppBuildInfo
implements IBuildInfo

com.android.tradefed.build.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

public abstract 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

public abstract 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>