Interface IWorkflowPlugin
OptimaJet.Workflow.Plugins.IWorkflowPlugin
Describes a plugin for the Workflow Engine.
Namespace: OptimaJet.Workflow.Plugins
public interface IWorkflowPluginProperties
Name
Type
Name #StringThe plugin name.
Disabled #BooleanFlag to disable plugin, if true - plugin is disabled, false otherwise.
PluginSettings #Dictionary<String>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.