デバイス割り当て結果
public class DeviceAllocationResult
extends Object
java.lang.オブジェクト | |
↳ | 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 () 割り当てが成功したかどうかを返します。 |
パブリックコンストラクター
デバイス割り当て結果
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 |