DeviceAllocationResult

public class DeviceAllocationResult
extends Object

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


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

Zusammenfassung

Öffentliche Konstrukteure

DeviceAllocationResult ()

Öffentliche Methoden

void addAllocatedDevices ( devices) addAllocatedDevices ( devices)

Fügen Sie zugewiesene Geräte hinzu.

void addAllocationFailureReason (String deviceConfigName, reasons) addAllocationFailureReason (String deviceConfigName, reasons)

Fügen Sie die Gründe hinzu, warum nicht für jede Gerätekonfiguration zugewiesen wurde.

String formattedReason ()
getAllocatedDevices ()

Gibt die Karte der zugewiesenen Geräte zurück

boolean wasAllocationSuccessful ()

Gibt zurück, ob die Zuordnung erfolgreich war oder nicht.

Öffentliche Konstrukteure

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 die Gründe hinzu, warum nicht für jede Gerätekonfiguration zugewiesen wurde.

Parameter
deviceConfigName String

reasons

formatierter Grund

public String formattedReason ()

Kehrt zurück
String

getAllocatedDevices

public  getAllocatedDevices ()

Gibt die Karte der zugewiesenen Geräte zurück

Kehrt zurück

wasAllocationSuccessful

public boolean wasAllocationSuccessful ()

Gibt zurück, ob die Zuordnung erfolgreich war oder nicht.

Kehrt zurück
boolean