CommandStatus
public
final
enum
CommandStatus
extends Enum<CommandStatus>
| java.lang.Object | ||
| ↳ | java.lang.Enum<com.android.tradefed.util.CommandStatus> | |
| ↳ | com.android.tradefed.util.CommandStatus | |
Represents the status of an timed operation.
Summary
Enum values | |
|---|---|
CommandStatus |
EXCEPTION
command threw exception and terminated abnormally |
CommandStatus |
FAILED
command terminated but did not succeed |
CommandStatus |
SUCCESS
command terminated successfully |
CommandStatus |
TIMED_OUT
command did not terminate within specified time |
Public methods | |
|---|---|
static
CommandStatus
|
valueOf(String name)
|
static
final
CommandStatus[]
|
values()
|
Enum values
EXCEPTION
public static final CommandStatus EXCEPTION
command threw exception and terminated abnormally
TIMED_OUT
public static final CommandStatus TIMED_OUT
command did not terminate within specified time
Public methods
valueOf
public static CommandStatus valueOf (String name)
| Parameters | |
|---|---|
name |
String |
| Returns | |
|---|---|
CommandStatus |
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-04-28 UTC.