PluginEntry
Defines a class holding the data associated with a plugin including it's instance.
Constructor Summary
Public Constructor | ||
public |
constructor(name: string, type: string, target: string, instance: Object, eventProxy: EventProxy, options: object) Instantiates a PluginEntry. |
Member Summary
Public Members | ||
public get |
Get enabled. |
|
public set |
Set enabled. |
|
public get |
eventProxy: EventProxy: * Get associated EventProxy. |
|
public get |
Get plugin instance. |
|
public get |
Get name. |
|
public get |
Get plugin options. |
|
public get |
Get plugin target. |
|
public get |
targetEscaped: string: * Get escaped plugin target. |
|
public get |
Get plugin type. |
Private Members | ||
private |
The plugin enabled state. |
|
private |
An EventProxy associated with the plugin wrapping the plugin manager eventbus. |
|
private |
The loaded plugin instance. |
|
private |
The plugin name. |
|
private |
Optional plugin options. |
|
private |
The plugin target: a local file path or module name. |
|
private |
Provides a sanitized escaped target string suitable for RegExp construction. |
|
private |
The plugin type: |
Public Constructors
public constructor(name: string, type: string, target: string, instance: Object, eventProxy: EventProxy, options: object) source
Instantiates a PluginEntry.
Params:
Name | Type | Attribute | Description |
name | string | The plugin name. |
|
type | string | The plugin type: |
|
target | string | The plugin target: a local file path or module name. |
|
instance | Object | The loaded plugin instance. |
|
eventProxy | EventProxy | An EventProxy associated with the plugin wrapping the plugin manager eventbus. |
|
options | object |
|
Optional plugin options. |
Public Members
Private Members
private _eventProxy: EventProxy source
An EventProxy associated with the plugin wrapping the plugin manager eventbus.