public void startTask(int taskId, int stepId) { if (!_taskCacheData.startTask(taskId, stepId)) { throw new Exception("当前任务不能开启,没有cachedata,taskId:" + taskId); } if (!_conditionMeetHelper.startTask(taskId)) { throw new Exception("当前任务不能开启,没有condition配置,taskId:" + taskId); } _curTaskId = taskId; _stepController.startStep(_curTaskId, stepId); checkTaskUI(); }