ContentBasedHelper

public class ContentBasedHelper
extends Object

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


Narzędzie pomocnicze do uzyskiwania wszystkich informacji o kompilacji i jej podstawie.

Podsumowanie

Konstruktory publiczne

ContentBasedHelper()

Metody publiczne

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

Analizuj dodatkowe pobrania docelowe, aby mieć pewność, że obsługujemy wszystkie zależności testowe.

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

Pobierz wszystkie elementy niezbędne do uzyskania informacji o treściach istotnych dla kompilacji w porównaniu z jej wersją podstawową.

static boolean hasCasDetails(RemoteBuildInfo info)

Pomóż nam sprawdzić, czy mamy szczegóły potrzebne do analizy.

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

Obsługa analizy treści umieszczonych parametrów chmury.

Konstruktory publiczne

ContentBasedHelper

public ContentBasedHelper ()

Metody publiczne

analyzeExtraDownloads

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

Analizuj dodatkowe pobrania docelowe, aby mieć pewność, że obsługujemy wszystkie zależności testowe.

Parametry
skipManager SkipManager: SkipManager

device ITestDevice

getContentInformation

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

Pobierz wszystkie elementy niezbędne do uzyskania informacji o treściach istotnych dla kompilacji w porównaniu z jej wersją podstawową.

Parametry
info RemoteBuildInfo

branch String

buildFlavor String

buildId String

Zwraca
ContentInformation

hasCasDetails

public static boolean hasCasDetails (RemoteBuildInfo info)

Pomóż nam sprawdzić, czy mamy szczegóły potrzebne do analizy.

Parametry
info RemoteBuildInfo

Zwraca
boolean

hasHostPackageArgs

public static boolean hasHostPackageArgs (TestDeviceOptions options)

Parametry
options TestDeviceOptions

Zwraca
boolean

obtainCloudParameters

public static ContentAnalysisContext obtainCloudParameters (String branch, 
                TestDeviceOptions options)

Obsługa analizy treści umieszczonych parametrów chmury.

Parametry
branch String

options TestDeviceOptions

Zwraca
ContentAnalysisContext

Zgłasza
BuildRetrievalError