Class: abstract AbstractPlugin
Abstract class for plugins
To be used as a base class for all plugin addons
Use the register method to initialize the plugin
AbstractPlugin
Constructors
new AbstractPlugin()
new AbstractPlugin(
settings):AbstractPlugin
Constructor
During startup, the plugin is initialized with the its settigns from pulpfixer registry
Parameters
settings
Plugin settings
Returns
Properties
defaultSettings
defaultSettings:
IPluginSettings
Default settings
Default plugin settings to save into pulpfixer registry
name
abstractreadonlyname:string
Plugin name
Methods
install()?
abstractoptionalinstall():void
Install the plugin
Run during plugin installation
Returns
void
register()
abstractregister():void
Register the plugin
Run at pulpfixer startup
Returns
void
Last updated on