C# Class VersionOne.ServiceHost.QualityCenterServices.QualityCenterClient

This class encapsulates the QualityCenter COM library. No other classes should directly use the COM library It does *not* know about the EventManager, or any event objects specific to ServiceHost The only knowledge it has of ServiceHost is use of a couple utility classes in ServiceHost.Core.Utility
Inheritance: IQualityCenterClient
显示文件 Open project: versionone/VersionOne.Integration.HPALM

Public Methods

Method Description
CreateQCTest ( string title, string description, string externalId ) : string
Dispose ( ) : void
GetFullyQualifiedQCId ( string localId ) : string
GetLatestDefects ( System.DateTime lastCheck ) : IList
GetLatestTestRuns ( System.DateTime lastCheck ) : IList
GetLocalQCId ( string fullyQualifiedId ) : string
GetQCDefect ( string externalId ) : System.Xml.Linq.XDocument
Login ( ) : void
Logout ( ) : void
OnDefectCreated ( string id, ICollection comments, string link ) : void
OnDefectStateChange ( string id, ICollection comments ) : bool
QualityCenterClient ( QCProject project, XmlNode config, ILogger log ) : System

Private Methods

Method Description
BuildComments ( IEnumerable messages, string existingComments ) : string
CreateTestFolder ( ) : string
GetLastCheckFilterString ( System.DateTime lastCheck ) : string
GetTestFolderId ( ) : string
GetTestFolderId ( string testFolderName ) : string
SetConfiguration ( XmlNode config ) : void
UpdateDefectStatus ( string externalId, string newStatus, IEnumerable comments ) : System.Xml.Linq.XDocument

Method Details

CreateQCTest() public method

public CreateQCTest ( string title, string description, string externalId ) : string
title string
description string
externalId string
return string

Dispose() public method

public Dispose ( ) : void
return void

GetFullyQualifiedQCId() public method

public GetFullyQualifiedQCId ( string localId ) : string
localId string
return string

GetLatestDefects() public method

public GetLatestDefects ( System.DateTime lastCheck ) : IList
lastCheck System.DateTime
return IList

GetLatestTestRuns() public method

public GetLatestTestRuns ( System.DateTime lastCheck ) : IList
lastCheck System.DateTime
return IList

GetLocalQCId() public method

public GetLocalQCId ( string fullyQualifiedId ) : string
fullyQualifiedId string
return string

GetQCDefect() public method

public GetQCDefect ( string externalId ) : System.Xml.Linq.XDocument
externalId string
return System.Xml.Linq.XDocument

Login() public method

public Login ( ) : void
return void

Logout() public method

public Logout ( ) : void
return void

OnDefectCreated() public method

public OnDefectCreated ( string id, ICollection comments, string link ) : void
id string
comments ICollection
link string
return void

OnDefectStateChange() public method

public OnDefectStateChange ( string id, ICollection comments ) : bool
id string
comments ICollection
return bool

QualityCenterClient() public method

public QualityCenterClient ( QCProject project, XmlNode config, ILogger log ) : System
project QCProject
config System.Xml.XmlNode
log ILogger
return System