CommandRunner.ExitCode

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()

枚举值

CONFIG_EXCEPTION

public static final CommandRunner.ExitCode CONFIG_EXCEPTION

设备无法使用

public static final CommandRunner.ExitCode DEVICE_UNAVAILABLE

设备未能响应

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

NO_ERROR

public static final CommandRunner.ExitCode NO_ERROR

THROWABLE_EXCEPTION

public static final CommandRunner.ExitCode THROWABLE_EXCEPTION

WRONG_JAVA_VERSION

public static final CommandRunner.ExitCode WRONG_JAVA_VERSION

公共方法

getCodeValue

public int getCodeValue ()

返回
int

valueOf

public static CommandRunner.ExitCode valueOf (String name)

参数
name String

返回
CommandRunner.ExitCode

values

public static final ExitCode[] values ()

返回
ExitCode[]