ContentInformationCache

public class ContentInformationCache
extends Object

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


Almacena en caché ContentInformation y garantiza el ciclo de vida de los archivos relacionados con ella.

Resumen

Constructores protegidos

ContentInformationCache()

Métodos públicos

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

Recupera una ContentInformation según su origen.

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

Realiza un seguimiento de una ContentInformation según su origen.

Constructores protegidos

ContentInformationCache

protected ContentInformationCache ()

Métodos públicos

getContentInformation

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

Recupera una ContentInformation según su origen.

Parámetros
branch String

buildId String

buildFlavor String

Muestra
ContentInformation

getDefaultCache

public static ContentInformationCache getDefaultCache ()

Muestra
ContentInformationCache

trackContent

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

Realiza un seguimiento de una ContentInformation según su origen.

Parámetros
branch String

buildId String

buildFlavor String

contentInfo ContentInformation

Arroja
IOException