org.meridor.stecker.interfaces.PluginsProvider Maven / Gradle / Ivy
package org.meridor.stecker.interfaces;
import org.meridor.stecker.PluginException;
import java.nio.file.Path;
import java.util.List;
/**
* Provides a list of paths to be considered as plugins
*/
public interface PluginsProvider {
/**
* Provides a list of plugins paths
*
* @param baseDirectory root directory to scan for plugins
* @return list of paths that seems to be plugins
* @throws org.meridor.stecker.PluginException when something goes wrong during base directory scanning
*/
List provide(Path baseDirectory) throws PluginException;
}