ContentInformationCache

public class ContentInformationCache
extends Object

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


מטמון ContentInformation ומבטיח את מחזור החיים של הקבצים שקשורים אליו.

סיכום

‫Constructors מוגנים

ContentInformationCache()

‫methods ציבוריים

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

אחזור של ContentInformation על סמך המקור שלו.

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

מעקב אחרי ContentInformation על סמך המקור שלו.

‫Constructors מוגנים

ContentInformationCache

protected ContentInformationCache ()

‫methods ציבוריים

getContentInformation

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

אחזור של ContentInformation על סמך המקור שלו.

פרמטרים
branch String

buildId String

buildFlavor String

החזרות
ContentInformation

getDefaultCache

public static ContentInformationCache getDefaultCache ()

החזרות
ContentInformationCache

trackContent

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

מעקב אחרי ContentInformation על סמך המקור שלו.

פרמטרים
branch String

buildId String

buildFlavor String

contentInfo ContentInformation

הקפצת הודעות שגיאה (throw)
IOException