< Summary

Information
Class: Elsa.Bpmn.Interchange.Endpoints.Bpmn.Import.Request
Assembly: Elsa.Bpmn.Interchange
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Bpmn.Interchange/Endpoints/Bpmn/Import/Request.cs
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 17
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_DefinitionId()100%11100%
get_Name()100%11100%
get_ProcessId()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Bpmn.Interchange/Endpoints/Bpmn/Import/Request.cs

#LineLine coverage
 1using JetBrains.Annotations;
 2
 3namespace Elsa.Bpmn.Interchange.Endpoints.Bpmn.Import;
 4
 5/// <summary>The form fields accompanying the uploaded <c>.bpmn</c> file.</summary>
 6[PublicAPI]
 7public sealed class Request
 8{
 9    /// <summary>The workflow definition to update, or empty to import as a new one.</summary>
 310    public string? DefinitionId { get; set; }
 11
 12    /// <summary>The workflow definition's display name, defaulting to the process's own BPMN name or id.</summary>
 313    public string? Name { get; set; }
 14
 15    /// <summary>The process to import when the document declares more than one.</summary>
 316    public string? ProcessId { get; set; }
 17}