指挥跑者
public class CommandRunner
extends Object
java.lang.Object | |
↳ | com.android.tradefed.command.CommandRunner |
另一个 TradeFederation 入口点,将运行命令行参数中指定的命令,然后退出。
旨在与调试器和其他非交互式操作模式一起使用。预期参数:[命令选项](要运行的配置)概括
领域 | |
---|---|
public static final String | EXCEPTION_KEY |
public static final String | START_FEATURE_SERVER
|
公共构造函数 | |
---|---|
CommandRunner () |
公共方法 | |
---|---|
CommandRunner.ExitCode | getErrorCode () |
static void | main (String[] mainArgs) |
void | run (String[] args) 运行命令的主要方法。 |
受保护的方法 | |
---|---|
ClearcutClient | createClient () |
领域
EXCEPTION_KEY
public static final String EXCEPTION_KEY
START_FEATURE_SERVER
public static final String START_FEATURE_SERVER
公共构造函数
指挥跑者
public CommandRunner ()
公共方法
主要的
public static void main (String[] mainArgs)
参数 | |
---|---|
mainArgs | String |
跑步
public void run (String[] args)
运行命令的主要方法。
参数 | |
---|---|
args | String :要运行的配置名称及其选项 |
受保护的方法
创建客户端
protected ClearcutClient createClient ()
退货 | |
---|---|
ClearcutClient |