public class PluginSources extends Object
Constructor and Description |
---|
PluginSources() |
Modifier and Type | Method and Description |
---|---|
static PluginSource |
classList(Class<?>... classes)
Load plugins from the given list of
Class . |
static PluginSource |
jarSource(String pluginDirectoryPath)
Load plugins from JAR files located at the given path
|
static PluginSource |
jarSource(URI pluginUri)
Load plugins from JAR files located at the given
URI |
public static PluginSource jarSource(String pluginDirectoryPath)
pluginDirectoryPath
- the path to the directory where the JAR files are locatedClass
objects, never nullpublic static PluginSource jarSource(URI pluginUri)
URI
public static PluginSource classList(Class<?>... classes)
Class
. Mostly useful for testing and debuggingclasses
- a list of classes to loadCopyright © 2017–2018 PlugFace. All rights reserved.