EngineCheckPassedEvent.java 757 字节
package com.sy.event;

import com.sy.model.GatherInfo;
import org.basis.enhance.groovy.entity.ExecuteParams;
import org.springframework.context.ApplicationEvent;

public class EngineCheckPassedEvent  extends ApplicationEvent {
    private final GatherInfo gatherInfo;
    private final ExecuteParams executeParams;

    public EngineCheckPassedEvent(
            Object source,
            GatherInfo gatherInfo,
            ExecuteParams executeParams
    ) {
        super(source);
        this.gatherInfo = gatherInfo;
        this.executeParams = executeParams;
    }

    // 提供getter方法
    public GatherInfo getGatherInfo() {
        return gatherInfo;
    }

    public ExecuteParams getExecuteParams() {
        return executeParams;
    }
}