XuqmGroup-Server/update-service/src/main/java/com/xuqm/update/model/PreflightSubmitResult.java
XuqmGroup 87edb316a5 feat(private-deploy): 支持 MySQL/Redis 外部连接和托管模式部署
- 添加 external 和 managed 两种数据库/缓存模式支持
- 实现 MySQL/Redis 托管安装脚本和配置向导
- 支持客户自备连接或部署脚本新建基础设施
- 更新部署文档说明不同模式的配置和验证要求
- 添加应用版本防重复上传和删除功能
- 实现应用商店预提交检查和发布计划功能
2026-05-18 18:37:10 +08:00

36 行
1.2 KiB
Java

package com.xuqm.update.model;
import java.util.List;
/**
* Result of preflight check before submitting to app stores.
*/
public class PreflightSubmitResult {
private String versionId;
private String versionName;
private int versionCode;
private List<StoreRemoteState> stores;
public static PreflightSubmitResult of(String versionId, String versionName, int versionCode, List<StoreRemoteState> stores) {
PreflightSubmitResult r = new PreflightSubmitResult();
r.versionId = versionId;
r.versionName = versionName;
r.versionCode = versionCode;
r.stores = stores;
return r;
}
public String getVersionId() { return versionId; }
public void setVersionId(String versionId) { this.versionId = versionId; }
public String getVersionName() { return versionName; }
public void setVersionName(String versionName) { this.versionName = versionName; }
public int getVersionCode() { return versionCode; }
public void setVersionCode(int versionCode) { this.versionCode = versionCode; }
public List<StoreRemoteState> getStores() { return stores; }
public void setStores(List<StoreRemoteState> stores) { this.stores = stores; }
}