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 () |
枚举值
配置异常
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
NO_BUILD
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
抛出异常
public static final CommandRunner.ExitCode THROWABLE_EXCEPTION
公共方法
获取代码值
public int getCodeValue ()
退货 | |
---|---|
int |
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-04-28。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]