package com.awspaas.user.apps.donenow_sys;

import com.actionsoft.apps.listener.PluginListener;
import com.actionsoft.apps.resource.AppContext;
import com.actionsoft.apps.resource.plugin.profile.AWSPluginProfile;
import com.actionsoft.apps.resource.plugin.profile.ProcessPublicEventPluginProfile;
import com.awspaas.user.apps.donenow_sys.event.DNProcessPubicListener;

import java.util.ArrayList;
import java.util.List;

public class Plugins implements PluginListener {
    /**
     *
     * @param appContext
     * @return
     */
    @Override
    public List<AWSPluginProfile> register(AppContext appContext) {
        List<AWSPluginProfile> list = new ArrayList<AWSPluginProfile>();

        list.add(new ProcessPublicEventPluginProfile(DNProcessPubicListener.class.getName(), "流程、任务信息"));

        return list;
    }
}
