集群命令狀態

public class ClusterCommandStatus
extends Object

java.lang.Object
com.android.tradefed.cluster.ClusterCommandStatus


表示來自 TF Cluster 的命令的狀態和取消原因的類別。

概括

公共構造函數

ClusterCommandStatus ( ClusterCommand.State state, String cancelReason)

構造

公共方法

String getCancelReason ()
ClusterCommand.State getState ()

公共構造函數

集群命令狀態

public ClusterCommandStatus (ClusterCommand.State state, 
                String cancelReason)

構造

參數
state ClusterCommand.State :命令的狀態。

cancelReason String :命令的取消原因(如果取消)。

公共方法

取得取消原因

public String getCancelReason ()

退貨
String

獲取狀態

public ClusterCommand.State getState ()

退貨
ClusterCommand.State