Workflow Engine .NET

Assembly: OptimaJet.Workflow.Api

Interface IWorkflowTenantFactory

OptimaJet.Workflow.Api.IWorkflowTenantFactory

Factory interface for creating IWorkflowTenant instances.

public interface IWorkflowTenantFactory

Methods

IWorkflowTenant Create(WorkflowTenantCreationOptions options) #
Creates a new IWorkflowTenant instance based on the provided creation options.

Parameters

Name
Type
Description
options
WorkflowTenantCreationOptions
The options for creating the tenant.

Returns

Type
Description
IWorkflowTenant
A new instance of IWorkflowTenant.
IWorkflowTenant Create(IEnumerable<string> ids, WorkflowRuntime runtime, DataProviderCreationOptions dataProviderOptions, WorkflowTenantLifecycleOwnership lifecycleOwnership = WorkflowTenantLifecycleOwnership.Registry) #
Creates a new IWorkflowTenant instance with the specified IDs, workflow runtime, and data provider options.

Parameters

Name
Type
Description
ids
IEnumerable<String>
The logical tenant IDs that map to this tenant instance.
runtime
WorkflowRuntime
The workflow runtime instance for this tenant.
dataProviderOptions
DataProviderCreationOptions
The options for creating the data provider.
lifecycleOwnership
WorkflowTenantLifecycleOwnership
The lifecycle ownership of the tenant.

Returns

Type
Description
IWorkflowTenant
A new instance of IWorkflowTenant.