package io.wdd.rpc.scheduler.beans;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.util.HashMap;
import java.util.List;

@ApiModel("定时脚本任务-中间转换状态-实体类")
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder(toBuilder = true)
public class ScriptSchedulerDTO extends ScriptSchedulerVO{

    /**
     * 脚本解析之后的完整命令行
     */
    @ApiModelProperty(" 脚本解析之后的完整命令行")
    List<List<String>> completeCommandList;

    /**
     * 存储内容为,目标执行机器agentTopicName列表
     */
    @ApiModelProperty("目标执行机器agentTopicName列表")
    List<String> targetMachineList;

    @Deprecated
    List<String> resultKeyList;

    /**
     * 存储内容为  agentTopicName -- FutureResultKey
     */
    @ApiModelProperty("agentTopicName -- FutureResultKey")
    HashMap<String, String> agentTopicNameToFutureResultKeyMap;

}
