DeviceAllocationResult
public
class
DeviceAllocationResult
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.command.DeviceAllocationResult |
コマンドの割り当て試行の結果を表します。
概要
パブリック コンストラクタ | |
|---|---|
DeviceAllocationResult()
|
|
パブリック メソッド | |
|---|---|
void
|
addAllocatedDevices(Map<String, ITestDevice> devices)
割り当てられたデバイスを追加します。 |
void
|
addAllocationFailureReason(String deviceConfigName, Map<String, String> reasons)
デバイス構成ごとに割り当てられなかった理由を追加します。 |
String
|
formattedReason()
|
Map<String, ITestDevice>
|
getAllocatedDevices()
割り当てられたデバイスのマップを返します。 |
boolean
|
wasAllocationSuccessful()
割り当てが成功したかどうかを返します。 |
パブリック コンストラクタ
DeviceAllocationResult
public DeviceAllocationResult ()
パブリック メソッド
addAllocatedDevices
public void addAllocatedDevices (Map<String, ITestDevice> devices)
割り当てられたデバイスを追加します。
| パラメータ | |
|---|---|
devices |
Map |
addAllocationFailureReason
public void addAllocationFailureReason (String deviceConfigName,
Map<String, String> reasons)デバイス構成ごとに割り当てられなかった理由を追加します。
| パラメータ | |
|---|---|
deviceConfigName |
String |
reasons |
Map |
formattedReason
public String formattedReason ()
| 戻り値 | |
|---|---|
String |
|
getAllocatedDevices
public Map<String, ITestDevice> getAllocatedDevices ()
割り当てられたデバイスのマップを返します。
| 戻り値 | |
|---|---|
Map<String, ITestDevice> |
|
wasAllocationSuccessful
public boolean wasAllocationSuccessful ()
割り当てが成功したかどうかを返します。
| 戻り値 | |
|---|---|
boolean |
|