ContentInformationCache

public class ContentInformationCache
extends Object

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


Met en cache ContentInformation et assure le cycle de vie des fichiers associés.

Résumé

Constructeurs protégés

ContentInformationCache()

Méthodes publiques

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

Récupère un ContentInformation en fonction de son origine.

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

Effectue le suivi d'un ContentInformation en fonction de son origine.

Constructeurs protégés

ContentInformationCache

protected ContentInformationCache ()

Méthodes publiques

getContentInformation

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

Récupère un ContentInformation en fonction de son origine.

Paramètres
branch String

buildId String

buildFlavor String

Renvoie
ContentInformation

getDefaultCache

public static ContentInformationCache getDefaultCache ()

Renvoie
ContentInformationCache

trackContent

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

Effectue le suivi d'un ContentInformation en fonction de son origine.

Paramètres
branch String

buildId String

buildFlavor String

contentInfo ContentInformation

Génère
IOException