CommandRunner.退出程式碼

public static final enum CommandRunner.ExitCode
extends Enum< CommandRunner.ExitCode >

java.lang.Object
java.lang.Enum< com.android.tradefed.command.CommandRunner.ExitCode >
com.android.tradefed.command.CommandRunner.ExitCode


可以退出的錯誤代碼。

概括

列舉值

CommandRunner.ExitCode CONFIG_EXCEPTION

CommandRunner.ExitCode DEVICE_UNAVAILABLE

CommandRunner.ExitCode DEVICE_UNRESPONSIVE

CommandRunner.ExitCode FATAL_HOST_ERROR

CommandRunner.ExitCode NO_BUILD

CommandRunner.ExitCode NO_DEVICE_ALLOCATED

CommandRunner.ExitCode NO_ERROR

CommandRunner.ExitCode THROWABLE_EXCEPTION

CommandRunner.ExitCode WRONG_JAVA_VERSION

公共方法

int getCodeValue ()
static CommandRunner.ExitCode valueOf (String name)
static final ExitCode[] values ()

列舉值

配置異常

public static final CommandRunner.ExitCode CONFIG_EXCEPTION

DEVICE_UNAVAILABLE

public static final CommandRunner.ExitCode DEVICE_UNAVAILABLE

DEVICE_UNRESPONSIVE

public static final CommandRunner.ExitCode DEVICE_UNRESPONSIVE

致命主機錯誤

public static final CommandRunner.ExitCode FATAL_HOST_ERROR

沒有構建

public static final CommandRunner.ExitCode NO_BUILD

NO_DEVICE_ALLOCATED

public static final CommandRunner.ExitCode NO_DEVICE_ALLOCATED

無錯誤

public static final CommandRunner.ExitCode NO_ERROR

可拋出例外

public static final CommandRunner.ExitCode THROWABLE_EXCEPTION

錯誤的JAVA版本

public static final CommandRunner.ExitCode WRONG_JAVA_VERSION

公共方法

取得代碼值

public int getCodeValue ()

退貨
int

的價值

public static CommandRunner.ExitCode valueOf (String name)

參數
name String

退貨
CommandRunner.ExitCode

價值觀

public static final ExitCode[] values ()

退貨
ExitCode[]