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