An abstract base-class for plugins
| Param: |
|
|---|
BasePlugin constructor
| Param: |
|
|---|
BasePlugin constructor
| Param: |
|
|---|
Methods
| __init__([configuration, section_header]) | BasePlugin constructor |
| fetch_config() | Abstract Method: Get sample config-file snippet required by this plugin |
| help([width]) | Prints a help-string for the plugin |
| log_error(error[, message]) | Logs the error in bold red |
Attributes
| help_page | A HelpPage to use if self.sections has been defined | ||
| logger |
|
||
| product | Abstract Property: The plugin (Component implementation) | ||
| sections | A (ordered) dictionary for the help page |
Abstract Method: Get sample config-file snippet required by this plugin
Prints a help-string for the plugin
| Param: |
|
|---|
Logs the error in bold red
| Param: |
|
|---|
A HelpPage to use if self.sections has been defined
| Returns: | A logging object. |
|---|
Abstract Property: The plugin (Component implementation)
A (ordered) dictionary for the help page