CommandRunner
public
class
CommandRunner
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.command.CommandRunner |
Alternatywny punkt wejścia TradeFederation, który uruchamia polecenie określone w argumentach wiersza poleceń, a następnie kończy działanie.
Przeznaczony do używania z debugerem i innymi nieinteraktywnymi trybami działania.
Oczekiwane argumenty: [commands options] (config to run)
Podsumowanie
Stałe | |
|---|---|
String |
DEVICE_DISCOVERY_TIMEOUT
|
String |
EXCEPTION_KEY
|
String |
START_FEATURE_SERVER
|
Publiczne konstruktory | |
|---|---|
CommandRunner()
|
|
Metody publiczne | |
|---|---|
CommandRunner.ExitCode
|
getErrorCode()
|
static
void
|
main(String[] mainArgs)
|
void
|
run(String[] args)
Główna metoda uruchamiania polecenia. |
Metody chronione | |
|---|---|
ClearcutClient
|
createClient()
|
Stałe
DEVICE_DISCOVERY_TIMEOUT
public static final String DEVICE_DISCOVERY_TIMEOUT
Wartość stała: „DEVICE_DISCOVERY_TIMEOUT”
EXCEPTION_KEY
public static final String EXCEPTION_KEY
Stała wartość: "serialized_exception"
START_FEATURE_SERVER
public static final String START_FEATURE_SERVER
Stała wartość: „START_FEATURE_SERVER”
Publiczne konstruktory
CommandRunner
public CommandRunner ()
Metody publiczne
główne
public static void main (String[] mainArgs)
| Parametry | |
|---|---|
mainArgs |
String |
home run
public void run (String[] args)
Główna metoda uruchamiania polecenia.
| Parametry | |
|---|---|
args |
String: nazwa konfiguracji do uruchomienia i jej opcje |
Metody chronione
createClient
protected ClearcutClient createClient ()
| Zwroty | |
|---|---|
ClearcutClient |
|