Hermod
A cross-platform, modular and fully GDPR-compliant email archival solution!
|
An abstract class for plugins with all the main features already implemented. More...
Public Member Functions | |||
Plugin (string pluginName, Version pluginVersion, params ICommand[] commands) | |||
Specialised constructor; allows inheriting classes to set their values immediately. | |||
abstract void | OnLoad (IPluginDelegator pluginDelegator) | ||
Method that is called once the plugin has been loaded. This may be used for pre-init purposes.
| |||
abstract void | OnStart () | ||
Method that is called once Hermod has completed its startup procedures and is ready to run. | |||
abstract void | OnStop () | ||
Method that is called when Hermod is shutting down. | |||
abstract void | OnConfigChanged (ConfigChangedEventArgs e) | ||
Method that is called when an application-wide configuration has been modified.
| |||
abstract void | OnConfigLoaded () | ||
Method that is called when the application-wide configurations have been loaded. | |||
void | OnLoad (IPluginDelegator pluginDelegator) | ||
Method that is called once the plugin has been loaded. This may be used for pre-init purposes. | |||
void | OnStart () | ||
Method that is called once Hermod has completed its startup procedures and is ready to run. | |||
void | OnStop () | ||
Method that is called when Hermod is shutting down. | |||
void | OnConfigChanged (ConfigChangedEventArgs e) | ||
Method that is called when an application-wide configuration has been modified. | |||
void | OnConfigLoaded () | ||
Method that is called when the application-wide configurations have been loaded. | |||
Properties | |
Version | PluginVersion [get, protected set] |
Gets the version of the plugin. | |
string | PluginName [get, protected set] |
Gets the name of the plugin. | |
List< ICommand > | PluginCommands [get, protected set] |
A list of all commands this plugin provides. | |
Properties inherited from Hermod.PluginFramework.IPlugin | |
Version | PluginVersion [get] |
Gets the version of the plugin. | |
string | PluginName [get] |
Gets the name of the plugin. | |
List< ICommand > | PluginCommands [get] |
A list of all commands this plugin provides. | |
An abstract class for plugins with all the main features already implemented.
|
inline |
Specialised constructor; allows inheriting classes to set their values immediately.
pluginName | The name of the plugin. |
pluginVersion | The plugin's version. |
commands | A list of commands (if any). |
Definition at line 21 of file Plugin.cs.
References Hermod.PluginFramework.Plugin.PluginCommands, Hermod.PluginFramework.Plugin.PluginName, and Hermod.PluginFramework.Plugin.PluginVersion.
|
pure virtual |
Method that is called when an application-wide configuration has been modified.
e | The ConfigChangedEventArgs that are generated when a config was modified. |
Implements Hermod.PluginFramework.IPlugin.
Implemented in Hermod.EmailImport.EmailImporter.
|
pure virtual |
Method that is called when the application-wide configurations have been loaded.
Implements Hermod.PluginFramework.IPlugin.
Implemented in Hermod.EmailImport.EmailImporter.
|
pure virtual |
Method that is called once the plugin has been loaded. This may be used for pre-init purposes.
pluginDelegator | The delegator allocated to this plugin. |
Implements Hermod.PluginFramework.IPlugin.
Implemented in Hermod.EmailImport.EmailImporter.
|
pure virtual |
Method that is called once Hermod has completed its startup procedures and is ready to run.
Implements Hermod.PluginFramework.IPlugin.
Implemented in Hermod.EmailImport.EmailImporter.
|
pure virtual |
Method that is called when Hermod is shutting down.
Implements Hermod.PluginFramework.IPlugin.
Implemented in Hermod.EmailImport.EmailImporter.
|
getprotected set |
A list of all commands this plugin provides.
Implements Hermod.PluginFramework.IPlugin.
Definition at line 34 of file Plugin.cs.
Referenced by Hermod.EmailImport.EmailImporter.EmailImporter(), and Hermod.PluginFramework.Plugin.Plugin().
|
getprotected set |
Gets the name of the plugin.
Implements Hermod.PluginFramework.IPlugin.
Definition at line 31 of file Plugin.cs.
Referenced by Hermod.PluginFramework.Plugin.Plugin().
|
getprotected set |
Gets the version of the plugin.
Implements Hermod.PluginFramework.IPlugin.
Definition at line 28 of file Plugin.cs.
Referenced by Hermod.PluginFramework.Plugin.Plugin().