DeviceAllocationResult

public class DeviceAllocationResult
extends Object

java.lang.Object
   ↳ com.android.tradefed.command.DeviceAllocationResult


Stellt die Ergebnisse eines Zuweisungsversuchs für einen Befehl dar.

Zusammenfassung

Öffentliche Konstruktoren

DeviceAllocationResult()

Öffentliche Methoden

void addAllocatedDevices( devices)

Fügen Sie zugewiesene Geräte hinzu.

void addAllocationFailureReason(String deviceConfigName, reasons)

Fügen Sie für jede Gerätekonfiguration die Gründe für die Nichtzuweisung hinzu.

String formattedReason()
getAllocatedDevices()

Gibt die Zuordnungskarte der Geräte zurück

boolean wasAllocationSuccessful()

gibt an, ob die Zuweisung erfolgreich war.

Öffentliche Konstruktoren

DeviceAllocationResult

public DeviceAllocationResult ()

Öffentliche Methoden

addAllocatedDevices

public void addAllocatedDevices ( devices)

Fügen Sie zugewiesene Geräte hinzu.

Parameter
devices

addAllocationFailureReason

public void addAllocationFailureReason (String deviceConfigName, 
                 reasons)

Fügen Sie für jede Gerätekonfiguration die Gründe für die Nichtzuweisung hinzu.

Parameter
deviceConfigName String

reasons

formattedReason

public String formattedReason ()

Returns
String

getAllocatedDevices

public  getAllocatedDevices ()

Gibt die Zuordnungskarte der Geräte zurück

Returns

wasAllocationSuccessful

public boolean wasAllocationSuccessful ()

gibt an, ob die Zuweisung erfolgreich war.

Returns
boolean