ClusterCommandConfigBuilder

public class ClusterCommandConfigBuilder
extends Object

java.lang.Object
com.android.tradefed.cluster.ClusterCommandConfigBuilder


クラスタ コマンドの構成ファイルを構築するためのクラス。

まとめ

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

ClusterCommandConfigBuilder ()

公開メソッド

File build ()

構成ファイルを構築します。

ClusterCommandConfigBuilder setClusterCommand ( ClusterCommand command)

ClusterCommandオブジェクトを設定します。

ClusterCommandConfigBuilder setTestContext ( TestContext testContext)

TestContextオブジェクトを設定します。

ClusterCommandConfigBuilder setTestEnvironment ( TestEnvironment testEnvironment)

TestEnvironmentオブジェクトを設定します。

ClusterCommandConfigBuilder setTestResources ( testResources) setTestResources ( testResources)

TestResourceオブジェクトのリストを設定します。

ClusterCommandConfigBuilder setWorkDir (File workDir)

コマンドの作業ディレクトリを設定します。

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

ClusterCommandConfigBuilder

public ClusterCommandConfigBuilder ()

公開メソッド

建てる

public File build ()

構成ファイルを構築します。

戻り値
File生成された構成ファイルのERROR(/File)オブジェクト。

スロー
ConfigurationException
JSONException

setClusterCommand

public ClusterCommandConfigBuilder setClusterCommand (ClusterCommand command)

ClusterCommandオブジェクトを設定します。

パラメーター
command ClusterCommand : ClusterCommandオブジェクト。

戻り値
ClusterCommandConfigBuilder連鎖のためのClusterCommandConfigBuilder

setTestContext

public ClusterCommandConfigBuilder setTestContext (TestContext testContext)

TestContextオブジェクトを設定します。

パラメーター
testContext TestContext : TestContextオブジェクト。

戻り値
ClusterCommandConfigBuilder連鎖のためのClusterCommandConfigBuilder

setTestEnvironment

public ClusterCommandConfigBuilder setTestEnvironment (TestEnvironment testEnvironment)

TestEnvironmentオブジェクトを設定します。

パラメーター
testEnvironment TestEnvironment : TestEnvironmentオブジェクト。

戻り値
ClusterCommandConfigBuilder連鎖のためのClusterCommandConfigBuilder

setTestResources

public ClusterCommandConfigBuilder setTestResources ( testResources)

TestResourceオブジェクトのリストを設定します。

パラメーター
testResources : TestResourceオブジェクトのリスト。

戻り値
ClusterCommandConfigBuilder連鎖のためのClusterCommandConfigBuilder

setWorkDir

public ClusterCommandConfigBuilder setWorkDir (File workDir)

コマンドの作業ディレクトリを設定します。

パラメーター
workDir File : 作業ディレクトリ。

戻り値
ClusterCommandConfigBuilder連鎖のためのClusterCommandConfigBuilder