< Summary

Information
Class: Elsa.Workflows.Runtime.Notifications.RuntimePauseRequested
Assembly: Elsa.Workflows.Runtime
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Notifications/RuntimeLifecycleNotifications.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 21
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_RequestedBy()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Notifications/RuntimeLifecycleNotifications.cs

#LineLine coverage
 1using Elsa.Mediator.Contracts;
 2
 3namespace Elsa.Workflows.Runtime.Notifications;
 4
 5/// <summary>
 6/// Published when an authorised operator effectively transitions the runtime into <see cref="QuiescenceReason.Administr
 7/// Idempotent re-invocations do NOT publish this notification (SC-007).
 8/// </summary>
 09public record RuntimePauseRequested(string? RequestedBy, string? Reason, DateTimeOffset Timestamp) : INotification;
 10
 11/// <summary>
 12/// Published when an authorised operator effectively clears <see cref="QuiescenceReason.AdministrativePause"/>.
 13/// Idempotent re-invocations do NOT publish this notification (SC-007).
 14/// </summary>
 15public record RuntimeResumeRequested(string? RequestedBy, DateTimeOffset Timestamp) : INotification;
 16
 17/// <summary>
 18/// Published when an authorised operator invokes the force-drain endpoint and a force operation actually runs
 19/// (a force call against an already-completed drain returns the cached outcome and does NOT publish this notification).
 20/// </summary>
 21public record RuntimeForceDrainRequested(string? RequestedBy, string? Reason, DateTimeOffset Timestamp, DrainOutcome Out

Methods/Properties

get_RequestedBy()