Class WorkflowTenant
OptimaJet.Workflow.Api.WorkflowTenant
A basic implementation of IWorkflowTenant.
Namespace: OptimaJet.Workflow.Api
public class WorkflowTenant : IWorkflowTenantType Hierarchy
- WorkflowTenant Current type
- Implemented interfaces
Constructors
public WorkflowTenant(IEnumerable<string> ids, WorkflowRuntime runtime, IDataProvider dataProvider, WorkflowTenantLifecycleOwnership lifecycleOwnership) #Initializes a new instance of the WorkflowTenant class with the specified ids, 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.
dataProviderIDataProviderThe data provider for this tenant.
lifecycleOwnershipWorkflowTenantLifecycleOwnershipThe lifecycle ownership of the tenant.
Properties
public IReadOnlyCollection<string> Ids { get; } #All logical tenant ids that map to this tenant instance.
public WorkflowRuntime WorkflowRuntime { get; } #The workflow runtime instance for this tenant.
public IDataProvider DataProvider { get; } #The data provider for this tenant.
public WorkflowTenantLifecycleOwnership LifecycleOwnership { get; } #Lifecycle ownership of the tenant, indicating whether the tenant is managed by the workflow engine or externally.