ContentInformationCache

public class ContentInformationCache
extends Object

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


Faz o cache de ContentInformation e garante o ciclo de vida dos arquivos relacionados a ele.

Resumo

Construtores protegidos

ContentInformationCache()

Métodos públicos

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

Recupera um ContentInformation com base na origem dele.

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

Rastrear um ContentInformation com base na origem dele.

Construtores protegidos

ContentInformationCache

protected ContentInformationCache ()

Métodos públicos

getContentInformation

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

Recupera um ContentInformation com base na origem dele.

Parâmetros
branch String

buildId String

buildFlavor String

Retorna
ContentInformation

getDefaultCache

public static ContentInformationCache getDefaultCache ()

Retorna
ContentInformationCache

trackContent

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

Rastrear um ContentInformation com base na origem dele.

Parâmetros
branch String

buildId String

buildFlavor String

contentInfo ContentInformation

Gera
IOException