12345678910111213141516171819202122232425262728293031 |
- package org.dbsyncer.common.event;
- import org.springframework.context.ApplicationContext;
- import org.springframework.context.event.ApplicationContextEvent;
- /**
- * 任务关闭事件
- *
- * @version 1.0.0
- * @Author AE86
- * @Date 2020-04-26 22:45
- */
- public class ClosedEvent extends ApplicationContextEvent {
- private String id;
- /**
- * Create a new ContextStartedEvent.
- *
- * @param source the {@code ApplicationContext} that the event is raised for
- * (must not be {@code null})
- */
- public ClosedEvent(ApplicationContext source, String id) {
- super(source);
- this.id = id;
- }
- public String getId() {
- return id;
- }
- }
|