Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
ClusterDeviceInfo.Builder
public
static
class
ClusterDeviceInfo.Builder
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.cluster.ClusterDeviceInfo.Builder
|
Summary
Public constructors
Builder
public Builder ()
Public methods
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-08-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-08-03 UTC."],[],[],null,["# ClusterDeviceInfo.Builder\n=========================\n\n\n`\npublic\nstatic\n\n\nclass\nClusterDeviceInfo.Builder\n`\n\n\n`\n\nextends Object\n\n\n`\n\n`\n\n\n`\n\n|---|--------------------------------------------------------|\n| java.lang.Object ||\n| ↳ | com.android.tradefed.cluster.ClusterDeviceInfo.Builder |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nSummary\n-------\n\n| ### Public constructors ||\n|-------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[Builder](../../../../../../reference/tradefed/com/android/tradefed/cluster/ClusterDeviceInfo.Builder.html#Builder())`() ` |\n\n| ### Public methods ||\n|----------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` `[ClusterDeviceInfo.Builder](../../../../../../reference/tradefed/com/android/tradefed/cluster/ClusterDeviceInfo.Builder.html) | ` `[addExtraInfo](../../../../../../reference/tradefed/com/android/tradefed/cluster/ClusterDeviceInfo.Builder.html#addExtraInfo(\u003cany\u003e))`(` extraInfo) |\n| ` `[ClusterDeviceInfo](../../../../../../reference/tradefed/com/android/tradefed/cluster/ClusterDeviceInfo.html) | ` `[build](../../../../../../reference/tradefed/com/android/tradefed/cluster/ClusterDeviceInfo.Builder.html#build())`() ` |\n| ` `[ClusterDeviceInfo.Builder](../../../../../../reference/tradefed/com/android/tradefed/cluster/ClusterDeviceInfo.Builder.html) | ` `[setDeviceDescriptor](../../../../../../reference/tradefed/com/android/tradefed/cluster/ClusterDeviceInfo.Builder.html#setDeviceDescriptor(com.android.tradefed.command.remote.DeviceDescriptor))`(`[DeviceDescriptor](../../../../../../reference/tradefed/com/android/tradefed/command/remote/DeviceDescriptor.html)` deviceDescriptor) ` |\n| ` `[ClusterDeviceInfo.Builder](../../../../../../reference/tradefed/com/android/tradefed/cluster/ClusterDeviceInfo.Builder.html) | ` `[setGroupName](../../../../../../reference/tradefed/com/android/tradefed/cluster/ClusterDeviceInfo.Builder.html#setGroupName(java.lang.String))`(String groupName) ` |\n| ` `[ClusterDeviceInfo.Builder](../../../../../../reference/tradefed/com/android/tradefed/cluster/ClusterDeviceInfo.Builder.html) | ` `[setRunTarget](../../../../../../reference/tradefed/com/android/tradefed/cluster/ClusterDeviceInfo.Builder.html#setRunTarget(java.lang.String))`(String runTarget) ` |\n\nPublic constructors\n-------------------\n\n### Builder\n\n```\npublic Builder ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nPublic methods\n--------------\n\n### addExtraInfo\n\n```\npublic ClusterDeviceInfo.Builder addExtraInfo ( extraInfo)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-------------|--------|\n| `extraInfo` | \u003cbr /\u003e |\n\n| Returns ||\n|-------------------------------------------------------------------------------------------------------------------------------|--------|\n| [ClusterDeviceInfo.Builder](../../../../../../reference/tradefed/com/android/tradefed/cluster/ClusterDeviceInfo.Builder.html) | \u003cbr /\u003e |\n\n### build\n\n```\npublic ClusterDeviceInfo build ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|---------------------------------------------------------------------------------------------------------------|--------|\n| [ClusterDeviceInfo](../../../../../../reference/tradefed/com/android/tradefed/cluster/ClusterDeviceInfo.html) | \u003cbr /\u003e |\n\n### setDeviceDescriptor\n\n```\npublic ClusterDeviceInfo.Builder setDeviceDescriptor (DeviceDescriptor deviceDescriptor)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|--------------------|---------------------------|\n| `deviceDescriptor` | `DeviceDescriptor` \u003cbr /\u003e |\n\n| Returns ||\n|-------------------------------------------------------------------------------------------------------------------------------|--------|\n| [ClusterDeviceInfo.Builder](../../../../../../reference/tradefed/com/android/tradefed/cluster/ClusterDeviceInfo.Builder.html) | \u003cbr /\u003e |\n\n### setGroupName\n\n```\npublic ClusterDeviceInfo.Builder setGroupName (String groupName)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-------------|-----------------|\n| `groupName` | `String` \u003cbr /\u003e |\n\n| Returns ||\n|-------------------------------------------------------------------------------------------------------------------------------|--------|\n| [ClusterDeviceInfo.Builder](../../../../../../reference/tradefed/com/android/tradefed/cluster/ClusterDeviceInfo.Builder.html) | \u003cbr /\u003e |\n\n### setRunTarget\n\n```\npublic ClusterDeviceInfo.Builder setRunTarget (String runTarget)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-------------|-----------------|\n| `runTarget` | `String` \u003cbr /\u003e |\n\n| Returns ||\n|-------------------------------------------------------------------------------------------------------------------------------|--------|\n| [ClusterDeviceInfo.Builder](../../../../../../reference/tradefed/com/android/tradefed/cluster/ClusterDeviceInfo.Builder.html) | \u003cbr /\u003e |"]]