/** * 判断某个引擎是否需要自动批准 * * @param engine 被判断的引擎 * @return 是否需要自动批准 */ protected boolean isAutoApprove(MonitorEngine engine) { // 增加一个自动批准的机制,便于集成测试 return engine.getProperty("autoApproveForIntegration", "false").equals("true"); }