C# Class MonkeyWrench.Scheduler.SchedulerBase

ファイルを表示 Open project: rolfbjarne/monkeywrench

Public Methods

Method Description
AddChangeSets ( List docs ) : void
UpdateRevisionsInDB ( DB db, DBLane lane, List hosts, List hostlanes ) : bool

This method must return true if a revision was added to the database.

Protected Methods

Method Description
AddChangeSet ( XmlDocument doc ) : void
AddChangedPath ( string path, string revision ) : void
CompareRevisions ( string repository, string a, string b ) : int
Log ( string msg ) : void
SchedulerBase ( bool ForceFullUpdate ) : System
UpdateRevisionsInDBInternal ( DB db, DBLane lane, string repository, DBRevision>.Dictionary revisions, List hosts, List hostlanes, string min_revision ) : bool

Private Methods

Method Description
HasCommits ( DBLane lane, string &min_revision ) : bool

Checks if a lane has any reported commits. If so, min_revision will be the first reported commit (otherwise min_revision will be null).

Method Details

AddChangeSet() protected method

protected AddChangeSet ( XmlDocument doc ) : void
doc System.Xml.XmlDocument
return void

AddChangeSets() public method

public AddChangeSets ( List docs ) : void
docs List
return void

AddChangedPath() protected method

protected AddChangedPath ( string path, string revision ) : void
path string
revision string
return void

CompareRevisions() protected abstract method

protected abstract CompareRevisions ( string repository, string a, string b ) : int
repository string
a string
b string
return int

Log() protected method

protected Log ( string msg ) : void
msg string
return void

SchedulerBase() protected method

protected SchedulerBase ( bool ForceFullUpdate ) : System
ForceFullUpdate bool
return System

UpdateRevisionsInDB() public method

This method must return true if a revision was added to the database.
public UpdateRevisionsInDB ( DB db, DBLane lane, List hosts, List hostlanes ) : bool
db DB
lane MonkeyWrench.DataClasses.DBLane
hosts List
hostlanes List
return bool

UpdateRevisionsInDBInternal() protected abstract method

protected abstract UpdateRevisionsInDBInternal ( DB db, DBLane lane, string repository, DBRevision>.Dictionary revisions, List hosts, List hostlanes, string min_revision ) : bool
db DB
lane MonkeyWrench.DataClasses.DBLane
repository string
revisions DBRevision>.Dictionary
hosts List
hostlanes List
min_revision string
return bool