C# Class VersionOne.Integration.CCNet.VersionOnePublisher

Inheritance: ITask
Exibir arquivo Open project: versionone/VersionOne.Integration.CCNet

Private Properties

Property Type Description
CreateV1Instance VersionOne.SDK.ObjectModel.V1Instance
DetermineSource string
DetermineStatus string
DetermineWorkitems IEnumerable
GetBuildDate System.DateTime
GetBuildProject VersionOne.SDK.ObjectModel.BuildProject
GetElapsed double
GetModificationDescription string
GetProxy VersionOne.SDK.ObjectModel.ProxySettings
ResolveChanges IEnumerable
ResolveReference IEnumerable
SetChangeSets void
Trace void

Public Methods

Method Description
CreateBuildUrl ( IIntegrationResult result ) : string
Run ( IIntegrationResult result ) : void

Private Methods

Method Description
CreateV1Instance ( ) : VersionOne.SDK.ObjectModel.V1Instance
DetermineSource ( IIntegrationResult result ) : string
DetermineStatus ( IIntegrationResult result ) : string
DetermineWorkitems ( ChangeInfo change ) : IEnumerable

Pull the workitem numbers out of the change comments.

GetBuildDate ( IIntegrationResult result ) : System.DateTime
GetBuildProject ( IIntegrationResult result ) : VersionOne.SDK.ObjectModel.BuildProject

Find the first BuildProject where the Reference matches the result.ProjectName.

GetElapsed ( IIntegrationResult result ) : double
GetModificationDescription ( IEnumerable changes ) : string
GetProxy ( ) : VersionOne.SDK.ObjectModel.ProxySettings
ResolveChanges ( IEnumerable modifications ) : IEnumerable

Cull out a distinct set of changes from the CCNet Modifications collection.

ResolveReference ( string reference ) : IEnumerable

Resolve a check-in comment identifier to a PrimaryWorkitem.

If the reference matches a SecondaryWorkitem, we need to navigate to the parent.

SetChangeSets ( VersionOne.SDK.ObjectModel.BuildRun run, IEnumerable changes ) : void

Associate this BuildRun with one or more ChangeSets. If there is no ChangeSet, then create one.

Trace ( string format ) : void

Method Details

CreateBuildUrl() public method

public CreateBuildUrl ( IIntegrationResult result ) : string
result IIntegrationResult
return string

Run() public method

public Run ( IIntegrationResult result ) : void
result IIntegrationResult
return void