ContentInformationCache

public class ContentInformationCache
extends Object

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


Buforuje ContentInformation i zapewnia cykl życia powiązanych z nim plików.

Podsumowanie

Konstruktory chronione

ContentInformationCache()

Metody publiczne

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

Pobiera ContentInformation na podstawie jego pochodzenia.

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

Śledzi ContentInformation na podstawie jego pochodzenia.

Konstruktory chronione

ContentInformationCache

protected ContentInformationCache ()

Metody publiczne

getContentInformation

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

Pobiera ContentInformation na podstawie jego pochodzenia.

Parametry
branch String

buildId String

buildFlavor String

Zwraca
ContentInformation

getDefaultCache

public static ContentInformationCache getDefaultCache ()

Zwraca
ContentInformationCache

trackContent

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

Śledzi ContentInformation na podstawie jego pochodzenia.

Parametry
branch String

buildId String

buildFlavor String

contentInfo ContentInformation

Zgłasza
IOException