C# Class MonkeyWrench.Scheduler.SchedulerBase

Afficher le fichier Open project: rolfbjarne/monkeywrench

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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

Méthode 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 méthode

protected AddChangeSet ( XmlDocument doc ) : void
doc System.Xml.XmlDocument
Résultat void

AddChangeSets() public méthode

public AddChangeSets ( List docs ) : void
docs List
Résultat void

AddChangedPath() protected méthode

protected AddChangedPath ( string path, string revision ) : void
path string
revision string
Résultat void

CompareRevisions() protected abstract méthode

protected abstract CompareRevisions ( string repository, string a, string b ) : int
repository string
a string
b string
Résultat int

Log() protected méthode

protected Log ( string msg ) : void
msg string
Résultat void

SchedulerBase() protected méthode

protected SchedulerBase ( bool ForceFullUpdate ) : System
ForceFullUpdate bool
Résultat System

UpdateRevisionsInDB() public méthode

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
Résultat bool

UpdateRevisionsInDBInternal() protected abstract méthode

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
Résultat bool