DeviceAllocationResult
  public
  
  
  
  class
  DeviceAllocationResult
  
    extends Object
  
  
  
  
  
  
| java.lang.Object | |
| ↳ | com.android.tradefed.command.DeviceAllocationResult | 
コマンドの割り当て試行の結果を表します。
概要
| パブリック コンストラクタ | |
|---|---|
| 
      DeviceAllocationResult()
       | |
| パブリック メソッド | |
|---|---|
| 
        
        
        
        
        
        void | 
      addAllocatedDevices(割り振られたデバイスを追加します。 | 
| 
        
        
        
        
        
        void | 
      addAllocationFailureReason(String deviceConfigName, デバイス構成ごとに、割り当てられなかった理由を追加します。 | 
| 
        
        
        
        
        
        String | 
      formattedReason()
       | 
| 
        
        
        
        
        
         | 
      getAllocatedDevices()
      割り当てられたデバイスのマップを返します。 | 
| 
        
        
        
        
        
        boolean | 
      wasAllocationSuccessful()
      割り当てが成功したかどうかを返します。 | 
パブリック コンストラクタ
DeviceAllocationResult
public DeviceAllocationResult ()
パブリック メソッド
addAllocatedDevices
public void addAllocatedDevices (devices) 
割り振られたデバイスを追加します。
| パラメータ | |
|---|---|
| devices |  | 
addAllocationFailureReason
public void addAllocationFailureReason (String deviceConfigName, 
                 reasons) デバイス構成ごとに、割り当てられなかった理由を追加します。
| パラメータ | |
|---|---|
| deviceConfigName | String | 
| reasons |  | 
formattedReason
public String formattedReason ()
| 戻り値 | |
|---|---|
| String | |
getAllocatedDevices
publicgetAllocatedDevices () 
割り当てられたデバイスのマップを返します。
| 戻り値 | |
|---|---|
|  | |
wasAllocationSuccessful
public boolean wasAllocationSuccessful ()
割り当てが成功したかどうかを返します。
| 戻り値 | |
|---|---|
| boolean | |
