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 ()
パブリックメソッド
clearCommandline
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 |
isStaging
public boolean isStaging ()
これがステージング環境であるかどうかを返します。 「staging_delegated」が設定されている場合にのみ、デフォルトでステージングを委任する必要はありません。
戻り値 | |
---|---|
boolean |
setCommandLine
public void setCommandLine (String[] command)
パラメーター | |
---|---|
command | String |
shouldUseDelegation
public boolean shouldUseDelegation ()
委任ロジックをトリガーするかどうか。
戻り値 | |
---|---|
boolean |