AndroidBuildRemoteFileResolver

public class AndroidBuildRemoteFileResolver
extends Object implements IRemoteFileResolver

java.lang.Object
   ↳ com.google.android.tradefed.config.remote.AndroidBuildRemoteFileResolver


Implementacja IRemoteFileResolver, która umożliwia pobieranie z serwera kompilacji Androida.

Podsumowanie

Stałe

String BUILD_BRANCH_STRING

String BUILD_ID_STRING

String BUILD_PATTERN_STRING

String BUILD_TARGET_STRING

String ENABLE_RESOLVE_SYM_LINKS

String EXCLUDE_FILTERS

String INCLUDE_FILTERS

String OS_STRING

String PROTOCOL

String USE_CAS

Pola

public static final Pattern DOWNLOAD_PATTERN

Konstruktory publiczne

AndroidBuildRemoteFileResolver()

Metody publiczne

String getSupportedProtocol()

Zwraca powiązany protokół obsługiwany w przypadku pobierania.

IRemoteFileResolver.ResolvedFile resolveRemoteFile(IRemoteFileResolver.RemoteFileResolverArgs args)

Rozwiązywanie problemów ze zdalnym plikiem w interfejsie odpornym na zmiany w przyszłości

Metody chronione

IFileDownloader getAndroidBuildDownloader(RemoteBuildInfo info, boolean useCas)
RemoteBuildInfo performBuildApiQuery(String buildId, String branch, String buildFlavor, String pattern)

Stałe

BUILD_BRANCH_STRING

public static final String BUILD_BRANCH_STRING

Wartość stała: "branch"

BUILD_ID_STRING

public static final String BUILD_ID_STRING

Wartość stała: "buildid"

BUILD_PATTERN_STRING

public static final String BUILD_PATTERN_STRING

Wartość stała: "pattern"

BUILD_TARGET_STRING

public static final String BUILD_TARGET_STRING

Wartość stała: "target"

public static final String ENABLE_RESOLVE_SYM_LINKS

Wartość stała: "enable-resolve-sym-links"

EXCLUDE_FILTERS

public static final String EXCLUDE_FILTERS

Wartość stała: "exclude_filters"

INCLUDE_FILTERS

public static final String INCLUDE_FILTERS

Wartość stała: "include_filters"

OS_STRING

public static final String OS_STRING

Wartość stała: "linux"

PROTOKÓŁ

public static final String PROTOCOL

Wartość stała: "ab"

USE_CAS

public static final String USE_CAS

Wartość stała: "use-cas"

Pola

DOWNLOAD_PATTERN

public static final Pattern DOWNLOAD_PATTERN

Konstruktory publiczne

AndroidBuildRemoteFileResolver

public AndroidBuildRemoteFileResolver ()

Metody publiczne

getSupportedProtocol

public String getSupportedProtocol ()

Zwraca powiązany protokół obsługiwany w przypadku pobierania.

Zwraca
String

resolveRemoteFile

public IRemoteFileResolver.ResolvedFile resolveRemoteFile (IRemoteFileResolver.RemoteFileResolverArgs args)

Rozwiązywanie problemów ze zdalnym plikiem w interfejsie odpornym na zmiany w przyszłości

Parametry
args IRemoteFileResolver.RemoteFileResolverArgs: RemoteFileResolverArgs opisuje, jak pobrać pilota.

Zwraca
IRemoteFileResolver.ResolvedFile Rozwiązana reprezentacja pliku lokalnego.

Zgłasza
BuildRetrievalError

Metody chronione

getAndroidBuildDownloader

protected IFileDownloader getAndroidBuildDownloader (RemoteBuildInfo info, 
                boolean useCas)

Parametry
info RemoteBuildInfo

useCas boolean

Zwraca
IFileDownloader

performBuildApiQuery

protected RemoteBuildInfo performBuildApiQuery (String buildId, 
                String branch, 
                String buildFlavor, 
                String pattern)

Parametry
buildId String

branch String

buildFlavor String

pattern String

Zwraca
RemoteBuildInfo

Zgłasza
BuildRetrievalError