新增 Spring Boot Web 后端与前端页面,打通 SVN 抓取、AI 分析、任务管理、文件下载与系统设置全流程。增加 3 个默认 SVN 预置项目下拉与默认项配置,提升日常使用效率与可维护性。
87 lines
1.6 KiB
Java
87 lines
1.6 KiB
Java
package com.svnlog.web.model;
|
|
|
|
import java.time.Instant;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
public class TaskInfo {
|
|
|
|
private String taskId;
|
|
private String type;
|
|
private TaskStatus status;
|
|
private int progress;
|
|
private String message;
|
|
private String error;
|
|
private Instant createdAt;
|
|
private Instant updatedAt;
|
|
private final List<String> files = new ArrayList<String>();
|
|
|
|
public String getTaskId() {
|
|
return taskId;
|
|
}
|
|
|
|
public void setTaskId(String taskId) {
|
|
this.taskId = taskId;
|
|
}
|
|
|
|
public String getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(String type) {
|
|
this.type = type;
|
|
}
|
|
|
|
public TaskStatus getStatus() {
|
|
return status;
|
|
}
|
|
|
|
public void setStatus(TaskStatus status) {
|
|
this.status = status;
|
|
}
|
|
|
|
public int getProgress() {
|
|
return progress;
|
|
}
|
|
|
|
public void setProgress(int progress) {
|
|
this.progress = progress;
|
|
}
|
|
|
|
public String getMessage() {
|
|
return message;
|
|
}
|
|
|
|
public void setMessage(String message) {
|
|
this.message = message;
|
|
}
|
|
|
|
public String getError() {
|
|
return error;
|
|
}
|
|
|
|
public void setError(String error) {
|
|
this.error = error;
|
|
}
|
|
|
|
public Instant getCreatedAt() {
|
|
return createdAt;
|
|
}
|
|
|
|
public void setCreatedAt(Instant createdAt) {
|
|
this.createdAt = createdAt;
|
|
}
|
|
|
|
public Instant getUpdatedAt() {
|
|
return updatedAt;
|
|
}
|
|
|
|
public void setUpdatedAt(Instant updatedAt) {
|
|
this.updatedAt = updatedAt;
|
|
}
|
|
|
|
public List<String> getFiles() {
|
|
return files;
|
|
}
|
|
}
|