:returns: The list of plugins loaded by this loader.
(self)
| 71 | self.plugin_path = plugin_path |
| 72 | |
| 73 | def load(self): |
| 74 | """ |
| 75 | :returns: The list of plugins loaded by this loader. |
| 76 | """ |
| 77 | plugins = [] |
| 78 | |
| 79 | # Load user plugins |
| 80 | for plugin_path in fileList(self.plugin_path): |
| 81 | if self._is_plugin_path(plugin_path): |
| 82 | custom_plugin = self._load_plugin_path(plugin_path) |
| 83 | if custom_plugin: |
| 84 | self._initialize_plugin(custom_plugin) |
| 85 | plugins.append(custom_plugin) |
| 86 | |
| 87 | |
| 88 | return plugins |
| 89 | |
| 90 | def _is_plugin_path(self, plugin_path): |
| 91 | """ |
nothing calls this directly
no test coverage detected