/** * 获取执行结果 * * @return */ public Result getResults() { executionStrategy.waitForComplete(); return new Result(cmds); }
/** * 使用executionStrategy执行所有命令逻辑 * * @return */ public Invoker execute() { executionStrategy.execute(cmds); return this; }