ClusterCommandConfigBuilder
public class ClusterCommandConfigBuilder
extends Object
java.lang.Object | |
com.android.tradefed.cluster.ClusterCommandConfigBuilder |
Klasa do zbudowania pliku konfiguracyjnego dla polecenia klastra.
Streszczenie
Konstruktorzy publiczni | |
---|---|
ClusterCommandConfigBuilder () |
Metody publiczne | |
---|---|
File | build () Buduje plik konfiguracyjny. |
ClusterCommandConfigBuilder | setClusterCommand ( ClusterCommand command) Ustaw obiekt |
ClusterCommandConfigBuilder | setTestContext ( TestContext testContext) Ustaw obiekt |
ClusterCommandConfigBuilder | setTestEnvironment ( TestEnvironment testEnvironment) Ustaw obiekt |
ClusterCommandConfigBuilder | setTestResources ( testResources) setTestResources ( testResources) Ustaw listę obiektów |
ClusterCommandConfigBuilder | setWorkDir (File workDir) Ustaw katalog roboczy dla polecenia. |
Konstruktorzy publiczni
ClusterCommandConfigBuilder
public ClusterCommandConfigBuilder ()
Metody publiczne
budować
public File build ()
Buduje plik konfiguracyjny.
Zwroty | |
---|---|
File | obiekt ERROR(/File) dla wygenerowanego pliku konfiguracyjnego. |
Rzuty | |
---|---|
ConfigurationException | |
JSONException |
setClusterCommand
public ClusterCommandConfigBuilder setClusterCommand (ClusterCommand command)
Ustaw obiekt ClusterCommand
.
Parametry | |
---|---|
command | ClusterCommand : obiekt ClusterCommand . |
Zwroty | |
---|---|
ClusterCommandConfigBuilder | ClusterCommandConfigBuilder do tworzenia łańcuchów. |
setTestContext
public ClusterCommandConfigBuilder setTestContext (TestContext testContext)
Ustaw obiekt TestContext
.
Parametry | |
---|---|
testContext | TestContext : obiekt TestContext . |
Zwroty | |
---|---|
ClusterCommandConfigBuilder | ClusterCommandConfigBuilder do tworzenia łańcuchów. |
setTestEnvironment
public ClusterCommandConfigBuilder setTestEnvironment (TestEnvironment testEnvironment)
Ustaw obiekt TestEnvironment
.
Parametry | |
---|---|
testEnvironment | TestEnvironment : obiekt TestEnvironment . |
Zwroty | |
---|---|
ClusterCommandConfigBuilder | ClusterCommandConfigBuilder do tworzenia łańcuchów. |
setTestResources
public ClusterCommandConfigBuilder setTestResources (testResources)
Ustaw listę obiektów TestResource
.
Parametry | |
---|---|
testResources | TestResource . |
Zwroty | |
---|---|
ClusterCommandConfigBuilder | ClusterCommandConfigBuilder do tworzenia łańcuchów. |
setWorkDir
public ClusterCommandConfigBuilder setWorkDir (File workDir)
Ustaw katalog roboczy dla polecenia.
Parametry | |
---|---|
workDir | File : katalog roboczy. |
Zwroty | |
---|---|
ClusterCommandConfigBuilder | ClusterCommandConfigBuilder do tworzenia łańcuchów. |