Package org.ossreviewtoolkit.plugins.api
Interface PluginFactory
-
- All Implemented Interfaces:
public interface PluginFactory<PLUGIN extends Plugin>A factory interface for creating plugins of type PLUGIN. The different plugin endpoints ORT provides must inherit from this interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPluginFactory.Companion
-
Method Summary
Modifier and Type Method Description abstract PLUGINcreate(PluginConfig config)Create a new instance of PLUGIN from config. abstract PluginDescriptorgetDescriptor()The descriptor of the plugin -
-
Method Detail
-
create
abstract PLUGIN create(PluginConfig config)
-
getDescriptor
abstract PluginDescriptor getDescriptor()
The descriptor of the plugin
-
-
-
-