package com.ftptool.sync.model; import java.nio.file.Path; import java.util.List; /** * 生产 pull 接口返回结果在本地落盘后的封装对象。 */ public class ProdPullResult { /** 保存生产快照内容的目录。 */ private final Path contentDirectory; /** 来源版本号,优先取服务端显式返回值。 */ private final String sourceVersion; /** 响应体内容哈希。 */ private final String contentHash; /** 本次 pull 返回的生产配置项 id 列表。 */ private final List pulledConfigIds; public ProdPullResult(Path contentDirectory, String sourceVersion, String contentHash, List pulledConfigIds) { this.contentDirectory = contentDirectory; this.sourceVersion = sourceVersion; this.contentHash = contentHash; this.pulledConfigIds = pulledConfigIds; } public Path getContentDirectory() { return contentDirectory; } public String getSourceVersion() { return sourceVersion; } public String getContentHash() { return contentHash; } public List getPulledConfigIds() { return pulledConfigIds; } }