com.cybermkd.route.config.PluginLoader Maven / Gradle / Ivy
package com.cybermkd.route.config;
import com.cybermkd.common.Plugin;
import java.util.ArrayList;
import java.util.List;
/**
* Plugins.
*/
final public class PluginLoader {
private final List plugins = new ArrayList();
public PluginLoader add(Plugin plugin) {
if (plugin != null)
this.plugins.add(plugin);
return this;
}
public List getPlugins() {
return plugins;
}
}