将检测任务迁移python
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package com.ruoyi.video.event;
|
||||
|
||||
import org.springframework.context.ApplicationEvent;
|
||||
|
||||
/**
|
||||
* 巡检任务完成事件
|
||||
*/
|
||||
public class TaskCompletedEvent extends ApplicationEvent {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private final Long taskId;
|
||||
|
||||
public TaskCompletedEvent(Object source, Long taskId) {
|
||||
super(source);
|
||||
this.taskId = taskId;
|
||||
}
|
||||
|
||||
public Long getTaskId() {
|
||||
return taskId;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user