Skip to content

workflow / Exports / PluginFactory

Interface: PluginFactory

Plugin factory interface

Table of contents

Methods

Methods

create

create(config?): WorkflowPlugin

Create plugin instance

Parameters

NameType
config?PluginConfig

Returns

WorkflowPlugin

Defined in

interfaces/workflow-plugin.ts:232


getMetadata

getMetadata(): Object

Get plugin metadata

Returns

Object

NameType
namestring
versionstring
descriptionstring
author?string
homepage?string
tags?string[]

Defined in

interfaces/workflow-plugin.ts:237


validateConfig

validateConfig(config): Object

Validate plugin configuration

Parameters

NameType
configPluginConfig

Returns

Object

NameType
isValidboolean
errorsstring[]

Defined in

interfaces/workflow-plugin.ts:249

Released under the MIT License.