com.didiglobal.logi.job.common.domain.LogITask Maven / Gradle / Ivy
package com.didiglobal.logi.job.common.domain;
import com.didiglobal.logi.job.core.task.TaskCallback;
import java.sql.Timestamp;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
public class LogITask {
private Long id;
private String taskCode;
private String taskName;
private String taskDesc;
private String cron;
private String className;
/**
* 执行参数 map 形式{key1:value1,key2:value2}
*/
private String params;
private Integer retryTimes;
private Timestamp lastFireTime;
private Timestamp nextFireTime;
private Long timeout;
private Integer status;
private String subTaskCodes;
private String consensual;
private List taskWorkers;
private Timestamp createTime;
private Timestamp updateTime;
private String appName;
private String owner;
private TaskCallback taskCallback;
@Data
@AllArgsConstructor
@NoArgsConstructor
public static class TaskWorker {
private Integer status;
private Timestamp lastFireTime;
private String workerCode;
private String ip;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy