예제 #1
0
 public IssueLocation(string filePath, string moduleKey, IssueTextRange textRange, string message)
 {
     FilePath  = filePath;
     ModuleKey = moduleKey;
     TextRange = textRange;
     Message   = message;
 }
예제 #2
0
        public SonarQubeHotspot(
            string hotspotKey, string message, string lineHash, string assignee, string status,
            string organization, string projectKey, string projectName,
            string componentKey, string filePath,
            DateTimeOffset creationDate, DateTimeOffset updateDate,
            SonarQubeHotspotRule rule,
            IssueTextRange textRange)
        {
            HotspotKey = hotspotKey;
            Message    = message;
            LineHash   = lineHash;
            Assignee   = assignee;
            Status     = status;

            Organization = organization;
            ProjectKey   = projectKey;
            ProjectName  = projectName;

            ComponentKey = componentKey;
            FilePath     = filePath;

            CreationTimestamp   = creationDate;
            LastUpdateTimestamp = updateDate;

            Rule      = rule;
            TextRange = textRange;
        }
예제 #3
0
 public SonarQubeIssue(string issueKey, string filePath, string hash, string message, string moduleKey, string ruleId, bool isResolved,
                       SonarQubeIssueSeverity severity, DateTimeOffset creationTimestamp, DateTimeOffset lastUpdateTimestamp,
                       IssueTextRange textRange, List <IssueFlow> flows)
 {
     IssueKey            = issueKey;
     FilePath            = filePath;
     Hash                = hash;
     Message             = message;
     ModuleKey           = moduleKey;
     RuleId              = ruleId;
     IsResolved          = isResolved;
     Severity            = severity;
     CreationTimestamp   = creationTimestamp;
     LastUpdateTimestamp = lastUpdateTimestamp;
     TextRange           = textRange;
     Flows               = flows ?? EmptyFlows;
 }