サンドボックスオプション

public final class SandboxOptions
extends Object

java.lang.オブジェクト
com.android.tradefed.sandbox.SandboxOptions


ISandboxのオプションを受け取り、提供できるクラス。

まとめ

田畑

public static final String CHILD_GLOBAL_CONFIG

public static final String ENABLE_DEBUG_THREAD

public static final String PARENT_PREPARER_CONFIG

public static final String SANDBOX_BUILD_ID

public static final String TF_LOCATION

public static final String USE_PROTO_REPORTER

public static final String WAIT_FOR_EVENTS_TIMEOUT

パブリックコンストラクター

SandboxOptions ()

パブリックメソッド

boolean downloadDefaultZips ()

デフォルトのテスト zip をダウンロードするかどうかを返します。

boolean dumpTestTemplate ()

フォールバック モードでテスト テンプレートをダンプするかどうかを返します。

String getChildGlobalConfig ()

子サンドボックスに使用される構成を返します。

getEnvVariables ()

サンドボックスの Java プロセスに渡す環境変数のマップ。

getForcePartialDownloadFileRegexList ()

正規表現のセットを返します。サンドボックスの部分ダウンロードでは、正規表現に一致するファイルが常にダウンロードされます。

getJavaOptions ()

サンドボックスの Java プロセスを渡すためのオプションのリスト。

String getParentPreparerConfig ()

プリペアラーがサンドボックスの親プロセスで実行する必要がある構成を返します。

String getSandboxBuildId ()

実行中にサンドボックスが使用されるように強制されたビルド ID を返します。

File getSandboxTfDirectory ()

実行のサンドボックス化に使用する Trade Federation のバージョンを含む、指定されたディレクトリを返します。

getTestsZips ()

サンドボックスのステージに圧縮されたテストのセットを返します。

long getWaitForEventsTimeout ()

サンドボックスの実行が完了した後、イベントが処理されるまで待機する時間を返します。

boolean shouldEnableDebugThread ()

デバッグ スレッドを有効にします。

boolean shouldParallelSetup ()

サンドボックスセットアップを並行して実行するかどうかを返します。

boolean shouldUseParallelDownload ()

セットアップ時に並列ダウンロードを使用するかどうかを返します。

boolean shouldUsePartialDownload ()

部分ダウンロード キャッシュを使用するかどうかを返します。

boolean shouldUseProtoReporter ()

protobuf レポートを使用するかどうかを返します。

boolean shouldUseSplitDiscovery ()

独立した検出によるセットアップを使用するかどうかを返します。

boolean shouldUseTestDiscovery ()

jar のステージングを最適化するために tradefed observatory を使用するかどうかを返します。

boolean startAvdInParent ()

avd デバイスを親サンドボックスで起動するか、子サンドボックスのままにするかを返します。

田畑

CHILD_GLOBAL_CONFIG

public static final String CHILD_GLOBAL_CONFIG

ENABLE_DEBUG_THREAD

public static final String ENABLE_DEBUG_THREAD

PARENT_PREPARER_CONFIG

public static final String PARENT_PREPARER_CONFIG

サンドボックス_ビルド_ID

public static final String SANDBOX_BUILD_ID

TF_LOCATION

public static final String TF_LOCATION

USE_PROTO_REPORTER

public static final String USE_PROTO_REPORTER

WAIT_FOR_EVENTS_TIMEOUT

public static final String WAIT_FOR_EVENTS_TIMEOUT

パブリックコンストラクター

サンドボックスオプション

public SandboxOptions ()

パブリックメソッド

ダウンロードDefaultZips

public boolean downloadDefaultZips ()

デフォルトのテスト zip をダウンロードするかどうかを返します。

戻り値
boolean

ダンプテストテンプレート

public boolean dumpTestTemplate ()

フォールバック モードでテスト テンプレートをダンプするかどうかを返します。

戻り値
boolean

getChildGlobalConfig

public String getChildGlobalConfig ()

子サンドボックスに使用される構成を返します。または、親を使用する必要がある場合は null。

戻り値
String

getEnvVariables

public  getEnvVariables ()

サンドボックスの Java プロセスに渡す環境変数のマップ。

戻り値

getForcePartialDownloadFileRegexList

public  getForcePartialDownloadFileRegexList ()

正規表現のセットを返します。サンドボックスの部分ダウンロードでは、正規表現に一致するファイルが常にダウンロードされます。

戻り値

getJavaOptions

public  getJavaOptions ()

サンドボックスの Java プロセスを渡すためのオプションのリスト。

戻り値

getParentPreparerConfig

public String getParentPreparerConfig ()

プリペアラーがサンドボックスの親プロセスで実行する必要がある構成を返します。

戻り値
String

getSandboxBuildId

public String getSandboxBuildId ()

実行中にサンドボックスが使用されるように強制されたビルド ID を返します。

戻り値
String

getSandboxTfDirectory

public File getSandboxTfDirectory ()

実行のサンドボックス化に使用する Trade Federation のバージョンを含む、指定されたディレクトリを返します。

戻り値
File

getTestsZips

public  getTestsZips ()

サンドボックスのステージに圧縮されたテストのセットを返します。

戻り値

getWaitForEventsTimeout

public long getWaitForEventsTimeout ()

サンドボックスの実行が完了した後、イベントが処理されるまで待機する時間を返します。

戻り値
long

shouldEnableDebugThread

public boolean shouldEnableDebugThread ()

デバッグ スレッドを有効にします。

戻り値
boolean

shouldParallelSetup

public boolean shouldParallelSetup ()

サンドボックスセットアップを並行して実行するかどうかを返します。

戻り値
boolean

shouldUseParallelDownload

public boolean shouldUseParallelDownload ()

セットアップ時に並列ダウンロードを使用するかどうかを返します。

戻り値
boolean

shouldUsePartialDownload

public boolean shouldUsePartialDownload ()

部分ダウンロード キャッシュを使用するかどうかを返します。

戻り値
boolean

shouldUseProtoReporter

public boolean shouldUseProtoReporter ()

protobuf レポートを使用するかどうかを返します。

戻り値
boolean

shouldUseSplitDiscovery

public boolean shouldUseSplitDiscovery ()

独立した検出によるセットアップを使用するかどうかを返します。

戻り値
boolean

shouldUseTestDiscovery

public boolean shouldUseTestDiscovery ()

jar のステージングを最適化するために tradefed observatory を使用するかどうかを返します。

戻り値
boolean

startAvdInParent

public boolean startAvdInParent ()

avd デバイスを親サンドボックスで起動するか、子サンドボックスのままにするかを返します。

戻り値
boolean