All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.schoolwow.data.thread.flow.handler.DataThreadBeforeAfterHandler Maven / Gradle / Ivy

There is a newer version: 1.2.0
Show newest version
package cn.schoolwow.data.thread.flow.handler;

import cn.schoolwow.data.thread.flow.common.AfterExecuteFlow;
import cn.schoolwow.data.thread.flow.common.BeforeExecuteFlow;
import cn.schoolwow.quickflow.flow.BusinessFlow;
import cn.schoolwow.quickflow.listener.BeforeAfterFlowHandler;

import java.util.Arrays;
import java.util.List;

public class DataThreadBeforeAfterHandler implements BeforeAfterFlowHandler {
    @Override
    public List getBeforeFlowList() {
        return Arrays.asList(new BeforeExecuteFlow());
    }

    @Override
    public List getAfterFlowList() {
        return Arrays.asList(new AfterExecuteFlow());
    }

    @Override
    public String name() {
        return "任务执行前后执行流程";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy