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 和/或其關係企業的商標或註冊商標。
上次更新時間: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":"其他"
}]