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