< Summary

Information
Class: Elsa.Workflows.Runtime.NewBookmarkQueueItem
Assembly: Elsa.Workflows.Runtime
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Models/NewBookmarkQueueItem.cs
Line coverage
100%
Covered lines: 7
Uncovered lines: 0
Coverable lines: 7
Total lines: 41
Line coverage: 100%
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_WorkflowInstanceId()100%11100%
get_BookmarkId()100%11100%
get_StimulusHash()100%11100%
get_ActivityInstanceId()100%11100%
get_CorrelationId()100%11100%
get_ActivityTypeName()100%11100%
get_Options()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Models/NewBookmarkQueueItem.cs

#LineLine coverage
 1using Elsa.Workflows.Runtime.Options;
 2
 3namespace Elsa.Workflows.Runtime;
 4
 5public class NewBookmarkQueueItem
 6{
 7    /// <summary>
 8    /// The workflow instance ID owning the bookmark to resume.
 9    /// </summary>
 12810    public string? WorkflowInstanceId { get; set; } = default!;
 11
 12    /// <summary>
 13    /// The bookmark ID to resume.
 14    /// </summary>
 7115    public string? BookmarkId { get; set; } = default!;
 16
 17    /// <summary>
 18    /// A bookmark payload hash of the bookmark to resume.
 19    /// </summary>
 12920    public string? StimulusHash { get; set; }
 21
 22    /// <summary>
 23    /// The ID of the activity instance associated with the bookmark.
 24    /// </summary>
 6425    public string? ActivityInstanceId { get; set; }
 26
 27    /// <summary>
 28    /// The correlation ID that is associated with the bookmark if any.
 29    /// </summary>
 6830    public string? CorrelationId { get; set; }
 31
 32    /// <summary>
 33    /// The type name of the activity associated with the bookmark.
 34    /// </summary>
 12135    public string? ActivityTypeName { get; set; }
 36
 37    /// <summary>
 38    /// Any options to apply when resuming the bookmark.
 39    /// </summary>
 12840    public ResumeBookmarkOptions? Options { get; set; }
 41}