ContentBasedHelper

public class ContentBasedHelper
extends Object

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


Helper 可取得建構作業及其基礎的所有內容資訊。

摘要

公用建構函式

ContentBasedHelper()

公用方法

static void analyzeExtraDownloads(SkipManager skipManager, ITestDevice device, MultiMap<String, File> extraTargetDownloads)

分析額外的目標下載內容,確保我們處理所有測試依附元件。

static ContentInformation getContentInformation(RemoteBuildInfo info, String branch, String buildFlavor, String buildId)

擷取所有必要片段,取得與建構版本相關的內容資訊,並與其基礎版本比較。

static boolean hasCasDetails(RemoteBuildInfo info)

協助檢查我們是否擁有可供分析的詳細資料。

static boolean hasHostPackageArgs(TestDeviceOptions options)
static ContentAnalysisContext obtainCloudParameters(String branch, TestDeviceOptions options)

處理嵌入式雲端參數的內容分析。

公用建構函式

ContentBasedHelper

public ContentBasedHelper ()

公用方法

analyzeExtraDownloads

public static void analyzeExtraDownloads (SkipManager skipManager, 
                ITestDevice device, 
                MultiMap<String, File> extraTargetDownloads)

分析額外的目標下載內容,確保我們處理所有測試依附元件。

參數
skipManager SkipManagerSkipManager

device ITestDevice

getContentInformation

public static ContentInformation getContentInformation (RemoteBuildInfo info, 
                String branch, 
                String buildFlavor, 
                String buildId)

擷取所有必要片段,取得與建構版本相關的內容資訊,並與其基礎版本比較。

參數
info RemoteBuildInfo

branch String

buildFlavor String

buildId String

傳回
ContentInformation

hasCasDetails

public static boolean hasCasDetails (RemoteBuildInfo info)

請協助確認我們是否已掌握可供分析的詳細資料。

參數
info RemoteBuildInfo

傳回
boolean

hasHostPackageArgs

public static boolean hasHostPackageArgs (TestDeviceOptions options)

參數
options TestDeviceOptions

傳回
boolean

obtainCloudParameters

public static ContentAnalysisContext obtainCloudParameters (String branch, 
                TestDeviceOptions options)

處理嵌入式雲端參數的內容分析。

參數
branch String

options TestDeviceOptions

傳回
ContentAnalysisContext

擲回
BuildRetrievalError