Package org.savantbuild.plugin
Class DefaultPluginLoader
java.lang.Object
org.savantbuild.plugin.DefaultPluginLoader
- All Implemented Interfaces:
PluginLoader
Default plugin loader that uses the Savant dependency service and a URLClassLoader to load the plugin.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.savantbuild.dep.DependencyService.TraversalRules -
Constructor Summary
ConstructorsConstructorDescriptionDefaultPluginLoader(Project project, RuntimeConfiguration runtimeConfiguration, org.savantbuild.output.Output output) -
Method Summary
-
Field Details
-
RESOLVE_CONFIGURATION
public static final org.savantbuild.dep.DependencyService.TraversalRules RESOLVE_CONFIGURATION
-
-
Constructor Details
-
DefaultPluginLoader
public DefaultPluginLoader(Project project, RuntimeConfiguration runtimeConfiguration, org.savantbuild.output.Output output)
-
-
Method Details
-
load
Loads the plugin with the given dependency.- Specified by:
loadin interfacePluginLoader- Parameters:
pluginDependency- The dependency definition of the plugin.- Returns:
- The Plugin instance.
-