Interface IWorkflowTenantFactory
OptimaJet.Workflow.Api.IWorkflowTenantFactory
Factory interface for creating IWorkflowTenant instances.
Namespace: OptimaJet.Workflow.Api
public interface IWorkflowTenantFactoryMethods
IWorkflowTenant Create(WorkflowTenantCreationOptions options) #Creates a new IWorkflowTenant instance based on the provided creation options.
Parameters
Name
Type
Description
optionsWorkflowTenantCreationOptionsThe options for creating the tenant.
Returns
Type
Description
IWorkflowTenantA 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
idsIEnumerable<String>The logical tenant IDs that map to this tenant instance.
runtimeWorkflowRuntimeThe workflow runtime instance for this tenant.
dataProviderOptionsDataProviderCreationOptionsThe options for creating the data provider.
lifecycleOwnershipWorkflowTenantLifecycleOwnershipThe lifecycle ownership of the tenant.
Returns
Type
Description
IWorkflowTenantA new instance of IWorkflowTenant.