Class AdapterFinding
- Namespace
- MES.MQC.DataSourceLibrary.Models.Adapters
- Assembly
- MES.MQC.DataSourceLibrary.dll
The AdapterFinding class contains the data for one data item to be imported. Each Adapter returns a List of with objects of this class on execution with the Read method.
public class AdapterFinding : AdapterDataBase
- Inheritance
-
AdapterFinding
- Inherited Members
Properties
AggregateData
Generate data from findings?
public bool AggregateData { get; set; }
Property Value
DescriptionAsHtml
If the description is not plain text.
public bool DescriptionAsHtml { get; set; }
Property Value
HumanReadableDisabled
If no human readable file path should be auto detected.
public bool HumanReadableDisabled { get; set; }
Property Value
IssueMessageAsHtml
If the issue message is not plain text.
public bool IssueMessageAsHtml { get; set; }
Property Value
Measure
Measure of the Finding (e.g. Result, Coverage of Testcases).
public string Measure { get; set; }
Property Value
MeasurementName
Name of Measurement, used to replace ${MeasurementName} in FindingStructure and FindingStructureForArtifact (after verified with adapter options).
public string MeasurementName { get; set; }
Property Value
SubjectType
Subject Type of the Finding (e.g. Requirement, Testcase, Check).
public string SubjectType { get; set; }
Property Value
ValidUntil
How long is the finding valid?
public DateTime? ValidUntil { get; set; }
Property Value
Variants
Variants of the Finding (VariableName)
public List<AdapterFindingVariant> Variants { get; set; }
Property Value
Methods
Add(List<AdapterFinding>, string, string, DateTime?, string, string, string, string[], string, string, string[], string[], string, string, string, string, AdapterFindingLocation, Dictionary<string, string>, DateTime?, bool, bool, bool, string, DateTime?, bool, DateTime?, bool)
public static AdapterFindingCombination Add(List<AdapterFinding> findings, string identifier, string dataSource, DateTime? dateTime, string subjectType, string measure, string artifactPath, string[] artifactInnerPath, string state, string subjectName, string[] subjectPath, string[] subjectPathForArtifact, string description = null, string issueMessage = null, string humanReadableFilePath = null, string humanReadableAnchor = null, AdapterFindingLocation location = null, Dictionary<string, string> metadata = null, DateTime? deadline = null, bool issueMessageAsHtml = false, bool descriptionAsHtml = false, bool humanReadableDisabled = false, string measurementName = null, DateTime? dataDateTime = null, bool ignoreDuplicates = false, DateTime? validUntil = null, bool aggregateData = false)
Parameters
findingsList<AdapterFinding>identifierstringdataSourcestringdateTimeDateTime?subjectTypestringmeasurestringartifactPathstringartifactInnerPathstring[]statestringsubjectNamestringsubjectPathstring[]subjectPathForArtifactstring[]descriptionstringissueMessagestringhumanReadableFilePathstringhumanReadableAnchorstringlocationAdapterFindingLocationmetadataDictionary<string, string>deadlineDateTime?issueMessageAsHtmlbooldescriptionAsHtmlboolhumanReadableDisabledboolmeasurementNamestringdataDateTimeDateTime?ignoreDuplicatesboolvalidUntilDateTime?aggregateDatabool
Returns
AddVariant(string, string, string, string[], string[], string[], string, string, string, string, AdapterFindingLocation, Dictionary<string, string>, DateTime?, DateTime?, bool)
public AdapterFindingCombination AddVariant(string identifier, string state, string subjectName, string[] subjectPath, string[] subjectPathForArtifact, string[] artifactInnerPath, string description = null, string issueMessage = null, string humanReadableFilePath = null, string humanReadableAnchor = null, AdapterFindingLocation location = null, Dictionary<string, string> metadata = null, DateTime? deadline = null, DateTime? dataDateTime = null, bool ignoreDuplicates = false)
Parameters
identifierstringstatestringsubjectNamestringsubjectPathstring[]subjectPathForArtifactstring[]artifactInnerPathstring[]descriptionstringissueMessagestringhumanReadableFilePathstringhumanReadableAnchorstringlocationAdapterFindingLocationmetadataDictionary<string, string>deadlineDateTime?dataDateTimeDateTime?ignoreDuplicatesbool