ClusterCommandStatus

public class ClusterCommandStatus
extends Object

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


A class that represents the state and the cancel reason for a command from TF Cluster.

Summary

Public constructors

ClusterCommandStatus(ClusterCommand.State state, String cancelReason)

Construct

Public methods

String getCancelReason()
ClusterCommand.State getState()

Public constructors

ClusterCommandStatus

public ClusterCommandStatus (ClusterCommand.State state, 
                String cancelReason)

Construct

Parameters
state ClusterCommand.State: state of the command.

cancelReason String: cancel reason of the command (if canceled).

Public methods

getCancelReason

public String getCancelReason ()

Returns
String

getState

public ClusterCommand.State getState ()

Returns
ClusterCommand.State