ContentInformationCache

public class ContentInformationCache
extends Object

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


ContentInformation vào bộ nhớ đệm và đảm bảo vòng đời của các tệp liên quan đến bộ nhớ đệm.

Tóm tắt

Hàm khởi tạo được bảo vệ

ContentInformationCache()

Phương thức công khai

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

Truy xuất ContentInformation dựa trên nguồn gốc của ContentInformation.

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

Theo dõi ContentInformation dựa trên nguồn gốc của ContentInformation đó.

Hàm khởi tạo được bảo vệ

ContentInformationCache

protected ContentInformationCache ()

Phương thức công khai

getContentInformation

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

Truy xuất ContentInformation dựa trên nguồn gốc của ContentInformation.

Tham số
branch String

buildId String

buildFlavor String

Giá trị trả về
ContentInformation

getDefaultCache

public static ContentInformationCache getDefaultCache ()

Giá trị trả về
ContentInformationCache

trackContent

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

Theo dõi ContentInformation dựa trên nguồn gốc của ContentInformation đó.

Tham số
branch String

buildId String

buildFlavor String

contentInfo ContentInformation

Gửi
IOException