ClusterCommandConfigBuilder

public class ClusterCommandConfigBuilder
extends Object

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


Klasa służąca do tworzenia pliku konfiguracyjnego dla polecenia klastra.

Streszczenie

Konstruktory publiczne

ClusterCommandConfigBuilder ()

Metody publiczne

File build ()

Tworzy 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ę obiektu TestResource .

ClusterCommandConfigBuilder setWorkDir (File workDir)

Ustaw katalog roboczy dla polecenia.

Konstruktory publiczne

ClusterCommandConfigBuilder

public ClusterCommandConfigBuilder ()

Metody publiczne

zbudować

public File build ()

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

ustawTestContext

public ClusterCommandConfigBuilder setTestContext (TestContext testContext)

Ustaw obiekt TestContext .

Parametry
testContext TestContext : obiekt TestContext .

Zwroty
ClusterCommandConfigBuilder ClusterCommandConfigBuilder do tworzenia łańcuchów.

ustaw środowisko testowe

public ClusterCommandConfigBuilder setTestEnvironment (TestEnvironment testEnvironment)

Ustaw obiekt TestEnvironment .

Parametry
testEnvironment TestEnvironment : obiekt TestEnvironment .

Zwroty
ClusterCommandConfigBuilder ClusterCommandConfigBuilder do tworzenia łańcuchów.

ustaw zasoby testowe

public ClusterCommandConfigBuilder setTestResources ( testResources)

Ustaw listę obiektu 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.