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 Bauträger | |
---|---|
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 für jede Gerätekonfiguration die Gründe für die Nichtzuweisung hinzu. |
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 Bauträger
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 ()
Kehrt zurück | |
---|---|
String |
getAllocatedDevices
publicgetAllocatedDevices ()
Gibt die Karte der zugewiesenen Geräte zurück
Kehrt zurück | |
---|---|
warAllocationSuccessful
public boolean wasAllocationSuccessful ()
gibt zurück, ob die Zuordnung erfolgreich war oder nicht.
Kehrt zurück | |
---|---|
boolean |