Assembly: OptimaJet.Workflow.Core

Interface IWorkflowPlugin

OptimaJet.Workflow.Plugins.IWorkflowPlugin

Describes a plugin for the Workflow Engine.

public interface IWorkflowPlugin

Type Hierarchy

Properties

string Name { get; } #
The plugin name.
bool Disabled { get; set; } #
Flag to disable plugin, if true - plugin is disabled, false otherwise.
[Obsolete("This property is obsolete. Use plugin constructor instead.")] Dictionary<string, string> PluginSettings { get; } Obsolete #
The plugin settings.

Methods

void OnPluginAdd(WorkflowRuntime runtime, List<string> schemes = null) #
Called when a plugin is added to a runtime.

Parameters

Name
Type
Description
runtime
WorkflowRuntime
The instance of the runtime.
schemes
List<String>
The list of schemes for which the plugin is being added.
Task OnRuntimeStartAsync(WorkflowRuntime runtime) #
Called when the runtime is started.

Parameters

Name
Type
Description
runtime
WorkflowRuntime
The instance of the runtime.

Returns

Type
Description
Task
A task that represents the asynchronous operation.