C# Class MonkeyWrench.Configuration

Afficher le fichier Open project: mono/monkeywrench

Méthodes publiques

Свойство Type Description
AllowAnonymousAccess bool
AllowPasswordLogin bool
AllowedCommitReporterIPs string
AutomaticScheduler bool
AutomaticSchedulerInterval int
ChildProcessAlgorithm string
CleanLargeObjects bool
CompressFiles bool
ConnectionRetryDuration int
DataDirectory string
DatabaseHost string
DatabaseName string
DatabasePassword string
DatabasePort int
DatabaseUser string
ExecuteDeletionDirectives bool
ForceFullUpdate bool
GitHubOauthClientId string
GitHubOauthClientSecret string
GitHubOauthRedirect string
GitHubOrganizationList string[]
Host string
LockingAlgorithm string
LogFile string
LogLevel string
MoveFilesToDatabase bool
MoveFilesToFileSystem bool
NoOutputTimeout int
NoProgressTimeout int
OauthClientId string
OauthClientSecret string
OauthRedirect string
OpenIdProvider string
OpenIdRoles string[]
Platform string
RevDataDirectory string
SchedulerAccount string
SchedulerPassword string
SiteSkin string
StoreFilesInDB bool
UploadPort int
WebServicePassword string
WebServiceUrl string
WebSiteUrl string

Méthodes publiques

Méthode Description
CygwinizePath ( string path ) : string
GetArch ( ) : string

Get the architecture of the machine we're running on. Either BUILDER_ARCH or 'Default'

GetCIncludePath ( int lane_id, string revision ) : string
GetCPlusIncludePath ( int lane_id, string revision ) : string
GetDataInstallDir ( int lane_id, string revision ) : string

BUILD_DATA/lanes/BUILD_LANE/BUILD_REVISION/install

GetDataLane ( int lane_id ) : string
GetDataLogDir ( int lane_id, string revision ) : string

BUILD_DATA/lanes/BUILD_LANE/BUILD_REVISION/logs

GetDataRevisionDir ( int lane_id, string revision ) : string

BUILD_DATA/lanes/BUILD_LANE/BUILD_REVISION

GetDataSourceDir ( int lane_id, string revision ) : string

BUILD_DATA/lanes/BUILD_LANE/BUILD_REVISION/source

GetDependentDownloadDirectory ( int lane_id, string dependent_lane, string revision ) : string
GetFilesDirectory ( ) : string

The directory where the database stores the files (as opposed to storing the files in the db itself)

GetHost ( ) : string

Get the host name of the machine we're running on. Either BUILDER_HOST or 'Default'

GetLdLibraryPath ( int lane_id, string revision ) : string
GetPath ( int lane_id, string revision ) : string
GetPkgConfigPath ( int lane_id, string revision ) : string
GetPlatform ( ) : System.Platform

The platform we're currently executing on.

GetReleaseDirectory ( ) : string

The directory where the monkeywrench releases are stored

GetSchedulerCommitsDirectory ( ) : string

The web frontend receives files to ReportCommit.aspx, these files are written into this directory. The scheduler looks for files in this directory and only accesses the remote repository when it determines that something has been committed.

GetSchedulerRepositoryCacheDirectory ( string repository ) : string

A repository cache directory for the schedulers which may need it (git)

GetWebSiteUrl ( ) : string
LoadConfiguration ( string arguments ) : bool

Loads any configuration. Returns false if loading fails, in which case the application must exit asap. There's no need to report errors, an error message have been printed to stderr.

LoadConfiguration ( string arguments, string file ) : bool
VerifyBuildBotConfiguration ( ) : bool

Private Methods

Méthode Description
ExecuteSuspendedProcessHack ( string arguments ) : void
GetNodeValue ( this node, string @default ) : string
ShowHelp ( OptionSet options ) : void
setupLog4Net ( ) : void

Method Details

CygwinizePath() public static méthode

public static CygwinizePath ( string path ) : string
path string
Résultat string

GetArch() public static méthode

Get the architecture of the machine we're running on. Either BUILDER_ARCH or 'Default'
public static GetArch ( ) : string
Résultat string

GetCIncludePath() public static méthode

public static GetCIncludePath ( int lane_id, string revision ) : string
lane_id int
revision string
Résultat string

GetCPlusIncludePath() public static méthode

public static GetCPlusIncludePath ( int lane_id, string revision ) : string
lane_id int
revision string
Résultat string

GetDataInstallDir() public static méthode

BUILD_DATA/lanes/BUILD_LANE/BUILD_REVISION/install
public static GetDataInstallDir ( int lane_id, string revision ) : string
lane_id int
revision string
Résultat string

GetDataLane() public static méthode

public static GetDataLane ( int lane_id ) : string
lane_id int
Résultat string

GetDataLogDir() public static méthode

BUILD_DATA/lanes/BUILD_LANE/BUILD_REVISION/logs
public static GetDataLogDir ( int lane_id, string revision ) : string
lane_id int
revision string
Résultat string

GetDataRevisionDir() public static méthode

BUILD_DATA/lanes/BUILD_LANE/BUILD_REVISION
public static GetDataRevisionDir ( int lane_id, string revision ) : string
lane_id int
revision string
Résultat string

GetDataSourceDir() public static méthode

BUILD_DATA/lanes/BUILD_LANE/BUILD_REVISION/source
public static GetDataSourceDir ( int lane_id, string revision ) : string
lane_id int
revision string
Résultat string

GetDependentDownloadDirectory() public static méthode

public static GetDependentDownloadDirectory ( int lane_id, string dependent_lane, string revision ) : string
lane_id int
dependent_lane string
revision string
Résultat string

GetFilesDirectory() public static méthode

The directory where the database stores the files (as opposed to storing the files in the db itself)
public static GetFilesDirectory ( ) : string
Résultat string

GetHost() public static méthode

Get the host name of the machine we're running on. Either BUILDER_HOST or 'Default'
public static GetHost ( ) : string
Résultat string

GetLdLibraryPath() public static méthode

public static GetLdLibraryPath ( int lane_id, string revision ) : string
lane_id int
revision string
Résultat string

GetPath() public static méthode

public static GetPath ( int lane_id, string revision ) : string
lane_id int
revision string
Résultat string

GetPkgConfigPath() public static méthode

public static GetPkgConfigPath ( int lane_id, string revision ) : string
lane_id int
revision string
Résultat string

GetPlatform() public static méthode

The platform we're currently executing on.
public static GetPlatform ( ) : System.Platform
Résultat System.Platform

GetReleaseDirectory() public static méthode

The directory where the monkeywrench releases are stored
public static GetReleaseDirectory ( ) : string
Résultat string

GetSchedulerCommitsDirectory() public static méthode

The web frontend receives files to ReportCommit.aspx, these files are written into this directory. The scheduler looks for files in this directory and only accesses the remote repository when it determines that something has been committed.
public static GetSchedulerCommitsDirectory ( ) : string
Résultat string

GetSchedulerRepositoryCacheDirectory() public static méthode

A repository cache directory for the schedulers which may need it (git)
public static GetSchedulerRepositoryCacheDirectory ( string repository ) : string
repository string
Résultat string

GetWebSiteUrl() public static méthode

public static GetWebSiteUrl ( ) : string
Résultat string

LoadConfiguration() public static méthode

Loads any configuration. Returns false if loading fails, in which case the application must exit asap. There's no need to report errors, an error message have been printed to stderr.
public static LoadConfiguration ( string arguments ) : bool
arguments string
Résultat bool

LoadConfiguration() public static méthode

public static LoadConfiguration ( string arguments, string file ) : bool
arguments string
file string
Résultat bool

VerifyBuildBotConfiguration() public static méthode

public static VerifyBuildBotConfiguration ( ) : bool
Résultat bool

Property Details

AllowAnonymousAccess public_oe static_oe property

public static bool AllowAnonymousAccess
Résultat bool

AllowPasswordLogin public_oe static_oe property

public static bool AllowPasswordLogin
Résultat bool

AllowedCommitReporterIPs public_oe static_oe property

public static string AllowedCommitReporterIPs
Résultat string

AutomaticScheduler public_oe static_oe property

public static bool AutomaticScheduler
Résultat bool

AutomaticSchedulerInterval public_oe static_oe property

public static int AutomaticSchedulerInterval
Résultat int

ChildProcessAlgorithm public_oe static_oe property

public static string ChildProcessAlgorithm
Résultat string

CleanLargeObjects public_oe static_oe property

public static bool CleanLargeObjects
Résultat bool

CompressFiles public_oe static_oe property

public static bool CompressFiles
Résultat bool

ConnectionRetryDuration public_oe static_oe property

public static int ConnectionRetryDuration
Résultat int

DataDirectory public_oe static_oe property

public static string DataDirectory
Résultat string

DatabaseHost public_oe static_oe property

public static string DatabaseHost
Résultat string

DatabaseName public_oe static_oe property

public static string DatabaseName
Résultat string

DatabasePassword public_oe static_oe property

public static string DatabasePassword
Résultat string

DatabasePort public_oe static_oe property

public static int DatabasePort
Résultat int

DatabaseUser public_oe static_oe property

public static string DatabaseUser
Résultat string

ExecuteDeletionDirectives public_oe static_oe property

public static bool ExecuteDeletionDirectives
Résultat bool

ForceFullUpdate public_oe static_oe property

public static bool ForceFullUpdate
Résultat bool

GitHubOauthClientId public_oe static_oe property

public static string GitHubOauthClientId
Résultat string

GitHubOauthClientSecret public_oe static_oe property

public static string GitHubOauthClientSecret
Résultat string

GitHubOauthRedirect public_oe static_oe property

public static string GitHubOauthRedirect
Résultat string

GitHubOrganizationList public_oe static_oe property

public static string[] GitHubOrganizationList
Résultat string[]

Host public_oe static_oe property

public static string Host
Résultat string

LockingAlgorithm public_oe static_oe property

public static string LockingAlgorithm
Résultat string

LogFile public_oe static_oe property

public static string LogFile
Résultat string

LogLevel public_oe static_oe property

public static string LogLevel
Résultat string

MoveFilesToDatabase public_oe static_oe property

public static bool MoveFilesToDatabase
Résultat bool

MoveFilesToFileSystem public_oe static_oe property

public static bool MoveFilesToFileSystem
Résultat bool

NoOutputTimeout public_oe static_oe property

public static int NoOutputTimeout
Résultat int

NoProgressTimeout public_oe static_oe property

public static int NoProgressTimeout
Résultat int

OauthClientId public_oe static_oe property

public static string OauthClientId
Résultat string

OauthClientSecret public_oe static_oe property

public static string OauthClientSecret
Résultat string

OauthRedirect public_oe static_oe property

public static string OauthRedirect
Résultat string

OpenIdProvider public_oe static_oe property

public static string OpenIdProvider
Résultat string

OpenIdRoles public_oe static_oe property

public static string[] OpenIdRoles
Résultat string[]

Platform public_oe static_oe property

public static string Platform
Résultat string

RevDataDirectory public_oe static_oe property

public static string RevDataDirectory
Résultat string

SchedulerAccount public_oe static_oe property

public static string SchedulerAccount
Résultat string

SchedulerPassword public_oe static_oe property

public static string SchedulerPassword
Résultat string

SiteSkin public_oe static_oe property

public static string SiteSkin
Résultat string

StoreFilesInDB public_oe static_oe property

public static bool StoreFilesInDB
Résultat bool

UploadPort public_oe static_oe property

public static int UploadPort
Résultat int

WebServicePassword public_oe static_oe property

public static string WebServicePassword
Résultat string

WebServiceUrl public_oe static_oe property

public static string WebServiceUrl
Résultat string

WebSiteUrl public_oe static_oe property

public static string WebSiteUrl
Résultat string