Interface IWorkflowTenantSnapshot
OptimaJet.Workflow.Api.IWorkflowTenantSnapshot
Immutable point-in-time workflow tenant snapshot.
Namespace: OptimaJet.Workflow.Api
public interface IWorkflowTenantSnapshot : IDisposable, IAsyncDisposableType Hierarchy
- IWorkflowTenantSnapshot Current type
- Base interfaces
Properties
IReadOnlyCollection<IWorkflowTenant> Tenants { get; } #Gets all tenant instances in this snapshot.
IReadOnlyCollection<string> TenantIds { get; } #Gets all tenant ids in this snapshot.
bool IsSingleTenant { get; } #Returns
true when the snapshot is configured in single-tenant mode.Methods
IWorkflowTenant GetTenant(string id) #Gets a workflow tenant by any registered tenant id.
Parameters
Name
Type
Description
idStringThe tenant id.
Returns
Type
Description
IWorkflowTenantThe workflow tenant.