장치 할당 결과
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 ()
공개 방법
할당된 장치 추가
public void addAllocatedDevices (devices)
할당된 장치를 추가합니다.
매개변수 | |
---|---|
devices |
addAllocationFailureReason
public void addAllocationFailureReason (String deviceConfigName,reasons)
각 장치 구성에 대해 할당되지 않은 이유를 추가합니다.
매개변수 | |
---|---|
deviceConfigName | String |
reasons |
형식화된 이유
public String formattedReason ()
보고 | |
---|---|
String |
getAllocatedDevices
publicgetAllocatedDevices ()
할당된 장치의 맵을 반환합니다.
보고 | |
---|---|
wasAllocationSuccessful
public boolean wasAllocationSuccessful ()
할당이 성공했는지 여부를 반환합니다.
보고 | |
---|---|
boolean |