workflow / Exports / PluginFactory
Interface: PluginFactory
Plugin factory interface
Table of contents
Methods
Methods
create
▸ create(config?): WorkflowPlugin
Create plugin instance
Parameters
| Name | Type |
|---|---|
config? | PluginConfig |
Returns
Defined in
interfaces/workflow-plugin.ts:232
getMetadata
▸ getMetadata(): Object
Get plugin metadata
Returns
Object
| Name | Type |
|---|---|
name | string |
version | string |
description | string |
author? | string |
homepage? | string |
tags? | string[] |
Defined in
interfaces/workflow-plugin.ts:237
validateConfig
▸ validateConfig(config): Object
Validate plugin configuration
Parameters
| Name | Type |
|---|---|
config | PluginConfig |
Returns
Object
| Name | Type |
|---|---|
isValid | boolean |
errors | string[] |