TradefedDelegator

public class TradefedDelegator
extends Object

java.lang.オブジェクト
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 ()

パブリックメソッド

クリアコマンドライン

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

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

パラメーター
originalCommand String

戻り値
String[]

投げる
ConfigurationException

クラスパスの作成

public String createClasspath ()

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

戻り値
String

getコマンドライン

public String[] getCommandLine ()

戻り値
String[]

getTfRootDir

public File getTfRootDir ()

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

戻り値
File

ステージング中

public boolean isStaging ()

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

戻り値
boolean

setコマンドライン

public void setCommandLine (String[] command)

パラメーター
command String

shouldUseDelegation

public boolean shouldUseDelegation ()

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

戻り値
boolean