< Summary

Information
Class: Elsa.Workflows.Runtime.Bookmarks.BackgroundActivityBookmark
Assembly: Elsa.Workflows.Runtime
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Bookmarks/BackgroundActivityBookmark.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 17
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_JobId()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Bookmarks/BackgroundActivityBookmark.cs

#LineLine coverage
 1using Elsa.Common;
 2using Elsa.Workflows.Runtime.Stimuli;
 3
 4namespace Elsa.Workflows.Runtime.Bookmarks;
 5
 6/// <summary>
 7/// A bookmark that is used to resume a workflow that is waiting for a background activity to complete.
 8/// </summary>
 9[Obsolete("Use BackgroundActivityStimulus instead.")]
 10[ForwardedType(typeof(BackgroundActivityStimulus))]
 11public class BackgroundActivityBookmark
 12{
 13    /// <summary>
 14    /// Set retroactively after the job has been scheduled. It is used to cancel the job when the bookmark is deleted.
 15    /// </summary>
 016    public string? JobId { get; set; }
 17}

Methods/Properties

get_JobId()