< Summary

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

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Workflows.Runtime/Stimuli/BackgroundActivityStimulus.cs

#LineLine coverage
 1using Elsa.Workflows.Attributes;
 2
 3namespace Elsa.Workflows.Runtime.Stimuli;
 4
 5/// <summary>
 6/// A bookmark that is used to resume a workflow that is waiting for a background activity to complete.
 7/// </summary>
 8public class BackgroundActivityStimulus
 9{
 10    /// <summary>
 11    /// Set retroactively after the job has been scheduled. It is used to cancel the job when the bookmark is deleted.
 12    /// </summary>
 913    [ExcludeFromHash]public string? JobId { get; set; }
 14}

Methods/Properties

get_JobId()