Interface IWorkflowPlugin
OptimaJet.Workflow.Plugins.IWorkflowPlugin
Describes a plugin for the Workflow Engine.
Namespace: OptimaJet.Workflow.Plugins
public interface IWorkflowPluginType Hierarchy
- IWorkflowPlugin Current type
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
runtimeWorkflowRuntimeThe instance of the runtime.
schemesList<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
runtimeWorkflowRuntimeThe instance of the runtime.
Returns
Type
Description
TaskA task that represents the asynchronous operation.