ContentInformationCache

public class ContentInformationCache
extends Object

java.lang.Object
com.google.android.tradefed.build.content.ContentInformationCache


缓存 ContentInformation 并确保与其相关文件的生命周期。

摘要

受保护的构造函数

ContentInformationCache()

公共方法

ContentInformation getContentInformation(String branch, String buildId, String buildFlavor)

根据 ContentInformation 的来源检索该信息。

static ContentInformationCache getDefaultCache()
void trackContent(String branch, String buildId, String buildFlavor, ContentInformation contentInfo)

根据 ContentInformation 的来源跟踪该信息。

受保护的构造函数

ContentInformationCache

protected ContentInformationCache ()

公共方法

getContentInformation

public ContentInformation getContentInformation (String branch, 
                String buildId, 
                String buildFlavor)

根据 ContentInformation 的来源检索该信息。

参数
branch String

buildId String

buildFlavor String

返回
ContentInformation

getDefaultCache

public static ContentInformationCache getDefaultCache ()

返回
ContentInformationCache

trackContent

public void trackContent (String branch, 
                String buildId, 
                String buildFlavor, 
                ContentInformation contentInfo)

根据 ContentInformation 的来源跟踪该信息。

参数
branch String

buildId String

buildFlavor String

contentInfo ContentInformation

抛出
IOException