集群命令状态
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 |