TradefedDelegator

public class TradefedDelegator
extends Object

java.lang.Object
com.android.tradefed.config.proxy.TradefedDelegator


呼び出しを別の Tradefed バイナリに委任するのに役立つオブジェクト。

まとめ

田畑

public static final String DELEGATE_OBJECT

構成内のオブジェクト参照。

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

TradefedDelegator ()

公開メソッド

static String[] clearCommandline (String[] originalCommand)

元のコマンド ラインから委任オプションを削除して、基になる構成が再び委任されないようにします。

String createClasspath ()

ディレクトリ内の jar からクラスパスを作成します。

String[] getCommandLine ()
File getTfRootDir ()

Tradefed バイナリのディレクトリを返します。

boolean isStaging ()

これがステージング環境かどうかを返します。

void setCommandLine (String[] command)
boolean shouldUseDelegation ()

委任ロジックをトリガーするかどうか。

田畑

DELEGATE_OBJECT

public static final String DELEGATE_OBJECT

構成内のオブジェクト参照。

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

TradefedDelegator

public TradefedDelegator ()

公開メソッド

clearコマンドライン

public static String[] clearCommandline (String[] originalCommand)

元のコマンド ラインから委任オプションを削除して、基になる構成が再び委任されないようにします。

パラメーター
originalCommand String

戻り値
String[]

スロー
ConfigurationException

createClasspath

public String createClasspath ()

ディレクトリ内の jar からクラスパスを作成します。

戻り値
String

getCommandLine

public String[] getCommandLine ()

戻り値
String[]

getTfRootDir

public File getTfRootDir ()

Tradefed バイナリのディレクトリを返します。

戻り値
File

ステージング

public boolean isStaging ()

これがステージング環境かどうかを返します。 「staging_delegated」が設定されている場合にのみ、デフォルトでステージングを委任したくありません。

戻り値
boolean

setCommandLine

public void setCommandLine (String[] command)

パラメーター
command String

委任を使用する必要があります

public boolean shouldUseDelegation ()

委任ロジックをトリガーするかどうか。

戻り値
boolean