ClusterCommandConfigBuilder
public
class
ClusterCommandConfigBuilder
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.cluster.ClusterCommandConfigBuilder |
Klasa do tworzenia pliku konfiguracji dla polecenia dotyczącego klastra.
Podsumowanie
Konstruktory publiczne | |
|---|---|
ClusterCommandConfigBuilder()
|
|
Metody publiczne | |
|---|---|
File
|
build()
Tworzy plik konfiguracji. |
ClusterCommandConfigBuilder
|
setClusterCommand(ClusterCommand command)
Ustaw obiekt |
ClusterCommandConfigBuilder
|
setTestContext(TestContext testContext)
Ustaw obiekt |
ClusterCommandConfigBuilder
|
setTestEnvironment(TestEnvironment testEnvironment)
Ustaw obiekt |
ClusterCommandConfigBuilder
|
setTestResources(
Ustaw listę obiektów |
ClusterCommandConfigBuilder
|
setWorkDir(File workDir)
Ustaw katalog roboczy dla polecenia. |
Konstruktory publiczne
ClusterCommandConfigBuilder
public ClusterCommandConfigBuilder ()
Metody publiczne
kompilacja
public File build ()
Tworzy plik konfiguracji.
| Zwroty | |
|---|---|
File |
obiekt ERROR(/File) dla wygenerowanego pliku konfiguracji. |
| Rzuty | |
|---|---|
ConfigurationException |
|
JSONException |
|
setClusterCommand
public ClusterCommandConfigBuilder setClusterCommand (ClusterCommand command)
Ustaw obiekt ClusterCommand.
| Parametry | |
|---|---|
command |
ClusterCommand: obiekt ClusterCommand. |
| Zwroty | |
|---|---|
ClusterCommandConfigBuilder |
ClusterCommandConfigBuilder do łańcucha. |
setTestContext
public ClusterCommandConfigBuilder setTestContext (TestContext testContext)
Ustaw obiekt TestContext.
| Parametry | |
|---|---|
testContext |
TestContext: obiekt TestContext. |
| Zwroty | |
|---|---|
ClusterCommandConfigBuilder |
ClusterCommandConfigBuilder do łańcucha. |
setTestEnvironment
public ClusterCommandConfigBuilder setTestEnvironment (TestEnvironment testEnvironment)
Ustaw obiekt TestEnvironment.
| Parametry | |
|---|---|
testEnvironment |
TestEnvironment: obiekt TestEnvironment. |
| Zwroty | |
|---|---|
ClusterCommandConfigBuilder |
ClusterCommandConfigBuilder do łańcucha. |
setTestResources
public ClusterCommandConfigBuilder setTestResources (testResources)
Ustaw listę obiektów TestResource.
| Parametry | |
|---|---|
testResources |
: lista obiektów TestResource. |
| Zwroty | |
|---|---|
ClusterCommandConfigBuilder |
ClusterCommandConfigBuilder do łańcucha. |
setWorkDir
public ClusterCommandConfigBuilder setWorkDir (File workDir)
Ustaw katalog roboczy dla polecenia.
| Parametry | |
|---|---|
workDir |
File: katalog służbowy. |
| Zwroty | |
|---|---|
ClusterCommandConfigBuilder |
ClusterCommandConfigBuilder do łańcucha. |