نتيجة تخصيص الجهاز
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 () إرجاع ما إذا كان التخصيص ناجحًا أم لا. |
المقاولين العامة
نتيجة تخصيص الجهاز
public DeviceAllocationResult ()
الأساليب العامة
addAllocatedDevices
public void addAllocatedDevices (devices)
إضافة الأجهزة التي تم تخصيصها.
حدود | |
---|---|
devices |
addAlllocationFailureReason
public void addAllocationFailureReason (String deviceConfigName,reasons)
أضف أسباب عدم التخصيص لكل تكوين جهاز.
حدود | |
---|---|
deviceConfigName | String |
reasons |
formattedReason
public String formattedReason ()
عائدات | |
---|---|
String |
getAllocatedDevices
publicgetAllocatedDevices ()
إرجاع خريطة الأجهزة المخصصة
عائدات | |
---|---|
تم التخصيص بنجاح
public boolean wasAllocationSuccessful ()
إرجاع ما إذا كان التخصيص ناجحًا أم لا.
عائدات | |
---|---|
boolean |