集群命令狀態
public class ClusterCommandStatus
extends Object
java.lang.Object | |
↳ | com.android.tradefed.cluster.ClusterCommandStatus |
代表來自 TF 集群的命令的狀態和取消原因的類。
概括
公共構造函數 | |
---|---|
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 |