package cn.stylefeng.workflow.api.pojo.config.node.deployflow;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import cn.stylefeng.workflow.api.pojo.config.node.deployflow.detail.*;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class DeployFlowConfig {

    @ChineseDescription("代码拉取配置")
    private CodePull codePull;

    @ChineseDescription("程序包发布")
    private UploadBuild uploadBuild;

    @ChineseDescription("前端构建配置")
    private FrontBuild frontBuild;

    @ChineseDescription("后端编译")
    private BackendBuild backendBuild;

    @ChineseDescription("shell构建")
    private ShellExecute shellExecute;

    @ChineseDescription("上传到服务器")
    private UploadToServer uploadToServer;

    @ChineseDescription("运行java服务")
    private RunJava runJava;

}
