ClusterCommandConfigBuilder
public class ClusterCommandConfigBuilder
extends Object
java.lang.Object | |
↳ | com.android.tradefed.cluster.ClusterCommandConfigBuilder |
מחלקה לבניית קובץ תצורה עבור פקודת אשכול.
סיכום
בנאים ציבוריים | |
---|---|
ClusterCommandConfigBuilder () |
שיטות ציבוריות | |
---|---|
File | build () בונה קובץ תצורה. |
ClusterCommandConfigBuilder | setClusterCommand ( ClusterCommand command) הגדר אובייקט |
ClusterCommandConfigBuilder | setTestContext ( TestContext testContext) הגדר אובייקט |
ClusterCommandConfigBuilder | setTestEnvironment ( TestEnvironment testEnvironment) הגדר אובייקט |
ClusterCommandConfigBuilder | setTestResources ( testResources) setTestResources ( testResources) הגדר רשימה של אובייקט |
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 לשרשור. |