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