Skip to content

Class DurableExecutionRuntimeDescriptor

Namespace: Cephalon.Abstractions.Execution
Assembly: Cephalon.Abstractions.dll

Describes one active durable-execution workflow visible to the current runtime.

public sealed class DurableExecutionRuntimeDescriptor

objectDurableExecutionRuntimeDescriptor

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

This runtime-facing surface keeps durable workflow truth derived from the shared behavior topology and registered implementation types instead of inventing a host-only workflow registry. It is intentionally static and operator-facing: it describes the active durable contract shape, ownership, transports, and replay semantics rather than per-invocation state.

DurableExecutionRuntimeDescriptor(string, string, string, string, string, string, string, string, string?, IReadOnlyList<string>?, IReadOnlyList<string>?, bool, bool, IReadOnlyList<int>?, IReadOnlyDictionary<string, string>?)

Section titled “ DurableExecutionRuntimeDescriptor(string, string, string, string, string, string, string, string, string?, IReadOnlyList<string>?, IReadOnlyList<string>?, bool, bool, IReadOnlyList<int>?, IReadOnlyDictionary<string, string>?)”

Creates a durable-execution runtime descriptor.

public DurableExecutionRuntimeDescriptor(string id, string displayName, string description, string behaviorType, string inputType, string stateType, string outputType, string executionMode, string? sourceModuleId = null, IReadOnlyList<string>? transportIds = null, IReadOnlyList<string>? requiredFeatureFlagIds = null, bool eventSourcingEnabled = true, bool requiresEventStore = true, IReadOnlyList<int>? successStatusCodes = null, IReadOnlyDictionary<string, string>? metadata = null)

id string

The stable durable behavior identifier.

displayName string

The operator-facing durable workflow name.

description string

A human-readable description of the durable workflow.

behaviorType string

The concrete durable behavior implementation type name.

inputType string

The durable workflow input type name.

stateType string

The durable workflow replay-state type name.

outputType string

The durable workflow local output type name.

executionMode string

The replay mode used by the runtime, such as event-store-replay.

sourceModuleId string?

The owning module identifier when the workflow came from an explicit module-owned behavior.

transportIds IReadOnlyList<string>?

The transport identifiers that expose the durable workflow.

requiredFeatureFlagIds IReadOnlyList<string>?

The ordered feature-flag identifiers that must resolve to enabled before the workflow can execute.

eventSourcingEnabled bool

Indicates whether the authored behavior topology explicitly enables event sourcing for the workflow.

requiresEventStore bool

Indicates whether the runtime contract requires an IEventStore to execute truthfully.

successStatusCodes IReadOnlyList<int>?

The HTTP success status codes the shared durable execution strategy can return for local output, continuation-only work, pending timer/signal coordination, or completion without output.

metadata IReadOnlyDictionary<string, string>?

Additional operator-facing metadata describing replay semantics.

Gets the concrete durable behavior implementation type name.

public string BehaviorType { get; }

string

Gets the human-readable durable workflow description.

public string Description { get; }

string

Gets the operator-facing durable workflow name.

public string DisplayName { get; }

string

Gets a value indicating whether the authored behavior topology explicitly enables event sourcing.

public bool EventSourcingEnabled { get; }

bool

Gets the replay mode used by the active runtime.

public string ExecutionMode { get; }

string

Gets the stable durable behavior identifier.

public string Id { get; }

string

Gets the durable workflow input type name.

public string InputType { get; }

string

Gets additional operator-facing metadata describing replay semantics.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>

Gets the durable workflow local output type name.

public string OutputType { get; }

string

Gets the ordered feature-flag identifiers that gate workflow execution.

public IReadOnlyList<string> RequiredFeatureFlagIds { get; }

IReadOnlyList<string>

Gets a value indicating whether the runtime contract requires an IEventStore.

public bool RequiresEventStore { get; }

bool

Gets the owning module identifier when one is known at runtime.

public string? SourceModuleId { get; }

string?

Gets the durable workflow replay-state type name.

public string StateType { get; }

string

Gets the HTTP success status codes the shared durable strategy can return.

public IReadOnlyList<int> SuccessStatusCodes { get; }

IReadOnlyList<int>

Gets the transport identifiers that expose the durable workflow.

public IReadOnlyList<string> TransportIds { get; }

IReadOnlyList<string>