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()
|
列舉值
公用方法
getCodeValue
public int getCodeValue ()
| 傳回 | |
|---|---|
int |
|
valueOf
public static CommandRunner.ExitCode valueOf (String name)
| 參數 | |
|---|---|
name |
String |
| 傳回 | |
|---|---|
CommandRunner.ExitCode |
|