PluginAdmin Class

Beta  

Controls loading of Plugins and calls methods on newly loaded or reloaded Plugins

Methods

Name Description
constructor(): PluginAdmin    
addSavedPlugins(requestContext: AuthorizedClientRequestContext, pluginName: string, args: string[] | undefined, allUsers: boolean, settingName: string): Promise<void> adds a plugin to settings to be opened by loadSavedPlugins. Beta  
loadPlugin(pluginRoot: string, args?: string[]): Promise<PluginLoadResults> Loads a Plugin  
onInitialized(): void    
register(plugin: Plugin): string[] | undefined Registers a Plugin with the PluginAdmin.  
removeSavedPlugins(requestContext: AuthorizedClientRequestContext, pluginName: string, allUsers: boolean, settingName: string): Promise<void> adds a plugin to settings to be opened by loadSavedPlugins. Beta  
loadPlugin(pluginSpec: string, args?: string[]): Promise<PluginLoadResults> Static Load a Plugin Deprecated  
register(plugin: Plugin): void Static Registers a Plugin with the PluginAdmin. Deprecated  

Defined in

Last Updated: 13 June, 2024