class UrlListPluginRepository
implements PluginRepository

Implementation of PluginRepository using a provided set of URLs to access Plugins. Each plugin URL is linked to a list of extension points that are available in the Plugin.

When scanning for Plugins each provided URL will be used to attempt to load a Plugin and examine it.

Constructors

new
UrlListPluginRepository(urlsAndExtensionPoints: Set<{ url: string; extensionPoints: string[]; }>)

Constructor configures the instance using the specified set of URLs.

Properties

private
readonly
pluginSource: UrlPluginSource

Methods

private
getExtensionEntryAsyncIterable(extensionPoint: string): AsyncIterable<ExtensionEntry>
scanForExtensions(extensionPoint: string): AsyncIterable<ExtensionEntry>