package io.wdd.func.auto.beans;

import io.wdd.pusher.beans.ImageSyncMessage;
import io.wdd.server.beans.po.ProjectInfoPO;
import io.wdd.server.beans.po.ServerInfoPO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.util.ArrayList;

@Data
@SuperBuilder(toBuilder = true)
@AllArgsConstructor
@NoArgsConstructor
public class ImageSyncContext {
    // single multi file
    ArrayList<String> cmiiAppNameTagList;

    ArrayList<String> imageFullNameList;

    // function args
    ArrayList<String> imageSyncFuncArgs;

    // download only
    Boolean downloadAndCompressOnly;

    // target
    ProjectInfoPO projectInfoPO;
    ServerInfoPO projectMasterNode;

    // 我方的 机器 默认值为 192.168.35.71
    String innerWorkerAgentName;

    // 消息同步结构体
    ImageSyncMessage imageSyncMessage;

}
