Zadbaj o dobrą organizację dzięki kolekcji Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.

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 ClusterCommand .

ClusterCommandConfigBuilder setTestContext ( TestContext testContext)

Ustaw obiekt TestContext .

ClusterCommandConfigBuilder setTestEnvironment ( TestEnvironment testEnvironment)

Ustaw obiekt TestEnvironment .

ClusterCommandConfigBuilder setTestResources ( testResources) setTestResources ( testResources)

Ustaw listę obiektów TestResource .

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 : lista obiektów 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.