Plugin manager
plugin_manager ¶
This module contains code that supports Build Plugins.
PluginDescriptor ¶
Plugin Descripter.
Attributes:
Name | Type | Description |
---|---|---|
descripter(Dict) |
descriptor |
|
Obj |
obj
|
Object |
Name |
str
|
name attribute from descriptor |
Module |
obj
|
module attribute from descriptor |
PluginManager ¶
A class that manages all plugins in the environment.
Attributes:
Name | Type | Description |
---|---|---|
Descriptors |
List[PluginDescriptor]
|
list of plugin descriptors |
SetListOfEnvironmentDescriptors ¶
SetListOfEnvironmentDescriptors(newlist: list) -> int
Passes a tuple of environment descriptor dictionaries to be loaded as plugins.
GetPluginsOfClass ¶
GetPluginsOfClass(classobj: type) -> list[object]
Return list of all plugins of a given class.
Returns:
Type | Description |
---|---|
list[object]
|
list[object]: plugin instances of the requested class |